-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile on Fedora 30 #14
Comments
I think I figured it out. Change this line: To this: Compiles now. |
That seems to work. How did you know MODE_MASK_NBITS was equivalent to MODE_LAST? |
I'm pretty sure that the compiler suggested it. |
in Linux 4.x headers, "__ETHTOOL_LINK_MODE_MASK_NBITS" is defined as "(__ETHTOOL_LINK_MODE_LAST+1)". The correct fix is "__ETHTOOL_LINK_MODE_MASK_NBITS", but without "+1". Full explanation in issue #18 |
Fixed in release/tn40xx-003. |
I've been using your driver on Fedora with minimal changes for the last 6 months. I was even albe to compile in Fedora 30 until today.
The first error below is what I am seeing with branch release/tn40xx-002.
Previously, with branch tn40xx-001 I would modify tn40.c by commenting out the definition of .get_settings and .set_settings and everything would compile. I guess the latest kernel has some changes in the kernel headers. Any tips are appreciated
The text was updated successfully, but these errors were encountered: