linux/drivers/net/tulip
Auke Kok 44c10138fd PCI: Change all drivers to use pci_device->revision
Instead of all drivers reading pci config space to get the revision
ID, they can now use the pci_device->revision member.

This exposes some issues where drivers where reading a word or a dword
for the revision number, and adding useless error-handling around the
read. Some drivers even just read it for no purpose of all.

In devices where the revision ID is being copied over and used in what
appears to be the equivalent of hotpath, I have left the copy code
and the cached copy as not to influence the driver's performance.

Compile tested with make all{yes,mod}config on x86_64 and i386.

Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-11 16:02:10 -07:00
..
21142.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
de4x5.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
de4x5.h tulip: Convert to generic boolean 2007-07-08 22:16:39 -04:00
de2104x.c drivers/net: fix comparisons of unsigned < 0 2007-07-08 22:16:39 -04:00
dmfe.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
eeprom.c [PATCH] Change tulip maintainer 2006-09-11 09:05:37 -04:00
interrupt.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
Kconfig Use menuconfig objects II - netdev (general+100mbit) 2007-07-08 22:16:40 -04:00
Makefile
media.c TULIP: Natsemi dp83840a PHY fix 2007-04-28 11:00:58 -04:00
pnic2.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
pnic.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
timer.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
tulip_core.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
tulip.h PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
uli526x.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
winbond-840.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
xircom_cb.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
xircom_tulip_cb.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00