Re: Network card driver compilation problem

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

 



On Wed, Aug 02, 2006 at 04:05:43PM +0100, Ashok Sharma wrote:
> There is a problem with my network card (d-link DFE-520TX) driver compilation. The kernel ver is 2.6 (Fedora core 4) and the following error is generated:
>    
>   ...
>   ...
>   /temp/rhine_main.c: 2018: warning: initialization from incompatible pointer type
>   /temp/rhine_main.c: In function 'rhine_ethtool_ ioctl'
>   /temp/rhine_main.c: 2752: error 'struct pci_dev has no member named 'slot name'
>   /temp/rhine_main.c: In function rhine_suspend
>   /temp/rhine_main.c: 2925: error: too many arguments to function 'pci_save_state'
>   /temp/rhine_main.c: in function rhine_resume:
>   /temp/rhine_main.c: 2959: error: too many arguments in function 'pci_restore_state'
>   make[2]: *** [/temp/rhine_main.o] Error 1
>   make[1]: *** [ _module_/temp] Error 2
>   make[1]: leaving directort 'home/hack/src/linux-2.6.16.13'
>   make: *** [default] Error 2
>    
>   Please help 

Fix up the code to handle the fact that those pci functions changed in
the 2.6.16 kernel from older ones :)

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux