Ralf Hildebrandt <Ralf.Hildebrandt <at> charite.de> writes:
> During "make-kpkg modules_image" I get:
...
> /usr/src/modules/ndiswrapper/driver/wrapper.c: In function ndis_suspend_pci':
> /usr/src/modules/ndiswrapper/driver/wrapper.c:930: error: too many arguments
to function pci_save_state'
...
I am also getting these errors in 2.6.9-mm with ndiswrapper version 0.11 and
current CVS.
I fixed it by changing the lines saying:
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,9)
to
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,9)
and the line
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,9)
to
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,9)
Whether this is 100% by-the-book correct I'm not sure of, but it seemed to do
the trick. You could also just remove the #if blocks.
Ian
|