[mythtv-users] Ceton InfiniTV PCIe Driver Compilation Error
Scott Knight
scott at scottknight.com
Sun Dec 3 02:24:46 UTC 2017
On 12/2/2017 9:01 PM, Stephen Worthington wrote:
> The obvious thing to try first with this problem is simply to comment
> out those two lines assigning to the last_rx field. If that works and
> the driver still works, then that was all that was needed. But if the
> change in the net_device structure has other implications, there may
> be something else that needs to be done.
>
> Fairly frequently there are fields in structure definitions that are
> used for some purpose by other software and need to be set up by
> everyone using it, but are not used by most software except in special
> cases. And then later a change takes the field away again as however
> that field worked, it is no longer needed by the software that was
> using it, and any other software not actually using it can simply no
> longer initialise it to a valid value. Since there appear to be no
> other references to last_rx in the driver except for initialising it,
> it is a reasonable bet that it is simply no longer needed.
I am going to trust the devs that came up with what is essentially that;
an if statement that comments those lines out for kernels 4.11 and
above. I am nowhere near confident enough in my C skills to try
something like that on my own. It does appear to be working now.
Thank you, Scott
More information about the mythtv-users
mailing list