[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Anyone tried the ASUS A8V-E Deluxe?

Well, if your compiler only complains about pci_save_state and pci_restore_state, you can change yourself. Just remove the second parameter in the calls. This changed to 2.6.10..

Thanks, I gave it a try and the driver actually compiled now, but it seems there are further complications.

During the compile, then again during make install and finally in modprobe (where loading the module fails), I get an error. This is what it looks like in kernel compile:
drivers/net/sk98lin/sky2.c: In function 'HandleReceives'
drivers/net/sk98lin/sky2.c:1519: warning: implicit declaration of function 'pci_dma_sync_single'
(and a bit later on)
*** Warning: "pci_dma_sync_single" [drivers/net/sk98lin/sk98lin.ko] undefined!

Okay, one more thing to change.

See http://seclists.org/lists/linux-kernel/2005/Feb/2126.html for another driver with a patch.. to see what changed. In general they changed the names to ..._for_cpu, and added some parameters about length and direction of the dma-transfer.
Linux says this in the changelog:
o PCI: remove all usages of pci_dma_sync_sg as it's obsolete
o PCI: remove all usages of pci_dma_sync_single as it's obsolete

.. maybe you just can comment those calls.. :)


Reply to: