linux/drivers/net/e1000
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 e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00
e1000.h e1000: Fix msi enable leak on error, don't print error message, cleanup 2007-05-17 20:43:15 -04:00
e1000_ethtool.c e1000: ROUND_UP macro cleanup in drivers/net/e1000 2007-04-28 11:01:07 -04:00
e1000_hw.c e1000: 3 new driver stats for managability testing 2006-12-26 15:51:30 -05:00
e1000_hw.h Various typo fixes. 2007-02-17 19:07:33 +01:00
e1000_main.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
e1000_osdep.h e1000: clean up debug output defines 2007-02-05 16:58:41 -05:00
e1000_param.c e1000: ROUND_UP macro cleanup in drivers/net/e1000 2007-04-28 11:01:07 -04:00