/lib/modules/2.6.5-1.358smp/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.5-1.358smp/build/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
rhine_main.c: In function `rhine_found1':
rhine_main.c:596: warning: implicit declaration of function `init_etherdev'
rhine_main.c:596: warning: assignment makes pointer from integer without a cast
rhine_main.c:651: warning: `check_region' is deprecated (declared at /lib/modules/2.6.5-1.358smp/build/include/linux/ioport.h:121)
rhine_main.c: In function `rhine_open':
rhine_main.c:1567: warning: passing arg 2 of `request_irq' from incompatible pointer type
rhine_main.c:1579: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358smp/build/include/linux/module.h:501)
rhine_main.c: In function `rhine_close':
rhine_main.c:1601: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358smp/build/include/linux/module.h:513)
rhine_main.c: In function `rhine_xmit':
rhine_main.c:1738: warning: comparison of distinct pointer types lacks a cast
rhine_main.c: In function `rhine_intr':
rhine_main.c:1781: warning: comparison of distinct pointer types lacks a cast
rhine_main.c: In function `rhine_set_multi':
rhine_main.c:1940: warning: comparison of distinct pointer types lacks a cast
rhine_main.c: In function `rhine_ethtool_ioctl':
rhine_main.c:2591: warning: comparison of distinct pointer types lacks a cast
rhine_main.c:2647: warning: comparison of distinct pointer types lacks a cast
rhine_main.c: In function `rhine_mii_ioctl':
rhine_main.c:2792: warning: comparison of distinct pointer types lacks a cast
rhine_main.c:2801: warning: comparison of distinct pointer types lacks a cast
rhine_main.c: In function `rhine_notify_reboot':
rhine_main.c:2821: warning: implicit declaration of function `pci_for_each_dev'
rhine_main.c:2821: error: syntax error before '{' token
rhine_main.c: At top level:
rhine_main.c:2827: error: syntax error before '}' token
make: *** [rhine_main.o] 错误 1