-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support for linux kernel 5.8 and greater #2
base: master
Are you sure you want to change the base?
Conversation
I've removed the vermagic.h header since it is not allowed to be included.
i) The patch of replacing the #include <linux/vermagic.h> should not only ii) It is desirable to remove the compiler warnings by replacing
iii) On Alma Linux 9.1 and 9.2 (but not on Alma Linux 8.8, CentOS, openSUSE 15.5, Ubuntu)
[The kernel panic occurs when the loop in This is from experience with the 8311 and 9656 broadcomm chips. |
I've applied the patch on all the driver.c files.
As suggested by @rmathar the call to ftime() has been removed and replaced by the standard gettimeofday()
The drivers had issues compiling on kernels newer than 5.8 since there was a change in the mmap locking API. I've made changes such that the driver now compiles on newer kernels. I've been able to compile it on 6.20. Note that I've not yet been able to test it with actual hardware, so it may or may not work. I've marked the PR as draft until I get to test the fix.
NOTE: Not yet tested