WSL2-Linux-Kernel/drivers/net/netxen
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
..
Makefile Add NetXen 1G/10G ethernet driver. 2006-12-02 00:11:58 -05:00
netxen_nic.h netxen: deinline and sparse fix 2007-07-10 12:41:09 -04:00
netxen_nic_ethtool.c NetXen: Fix compile failure seen on PPC architecture 2007-06-09 18:25:35 -04:00
netxen_nic_hdr.h RESEND [PATCH 3/3] NetXen: Graceful teardown of interface and hardware upon module unload 2007-07-02 08:24:52 -04:00
netxen_nic_hw.c RESEND [PATCH 3/3] NetXen: Graceful teardown of interface and hardware upon module unload 2007-07-02 08:24:52 -04:00
netxen_nic_hw.h NetXen: Port swap feature for multi port cards 2007-04-28 11:01:06 -04:00
netxen_nic_init.c RESEND [PATCH 3/3] NetXen: Graceful teardown of interface and hardware upon module unload 2007-07-02 08:24:52 -04:00
netxen_nic_isr.c NetXen: Fix link status messages 2007-06-12 18:58:58 -04:00
netxen_nic_main.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
netxen_nic_niu.c drivers/net: fix comparisons of unsigned < 0 2007-07-08 22:16:39 -04:00
netxen_nic_phan_reg.h RESEND [PATCH 2/3] NetXen: Support per PCI-function interrupt mask registers 2007-07-02 08:24:52 -04:00