root@blackICE:~/tmp# lspci
...
0000:01:06.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
root@blackICE:~/tmp# ls
kcompat.h Makefile rhine.h rhine_proc.c rhine_wol.c
linux.txt rhine_cfg.h rhine_main.c rhine_proc.h rhine_wol.h
root@blackICE:~/tmp# make
...
/root/tmp/rhine_main.c: In function ‘rhine_ethtool_ioctl’:
/root/tmp/rhine_main.c:2752: error: ‘struct pci_dev’ has no member named ‘slot_name’
/root/tmp/rhine_main.c: In function ‘rhine_suspend’:
/root/tmp/rhine_main.c:2925: error: too many arguments to function ‘pci_save_state’
/root/tmp/rhine_main.c: In function ‘rhine_resume’:
/root/tmp/rhine_main.c:2959: error: too many arguments to function ‘pci_restore_state’
make[2]: *** [/root/tmp/rhine_main.o] Error 1
make[1]: *** [_module_/root/tmp] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.18'
make: *** [default] Error 2
вообщем если кто0то сталкивался то помогите плз.
и вообще как решается такая проблема, когда при компиляции дров аргументы у ф-ций не совпадают (уже не впервый раз такое :( )
зарание спасибо за ответы