Created
July 28, 2012 02:05
-
-
Save guilespi/3191435 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
thanks so much!!!!
i owe you a box of beers