-
-
Save badukaire/6b2f761644d66fad23045e19c93d4e3d to your computer and use it in GitHub Desktop.
Compile latest igb driver on debian squeeze 2.6.32-5-amd64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#When presented with failure | |
igb-3.4.8/src/igb_main.c:193: error: implicit declaration of function SET_RUNTIME_PM_OPS | |
#Add the following macro to | |
#/usr/src/linux-headers-2.6.32-5-common/include/linux/pm.h | |
#ifdef CONFIG_PM_RUNTIME | |
#define SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) \ | |
.runtime_suspend = suspend_fn, \ | |
.runtime_resume = resume_fn, \ | |
.runtime_idle = idle_fn, | |
#else | |
#define SET_RUNTIME_PM_OPS(suspend_fn, resume_fn, idle_fn) | |
#endif | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this was tested with igb-5.3.5.3
update apt source file to point to the debian 6 archive (squeeze) :
then install packages :
now it is possible to compile following instructions on the intel README