linux/drivers/atm
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
..
.gitignore
adummy.c
ambassador.c
ambassador.h
atmsar11.data
atmsar11.regions
atmsar11.start
atmtcp.c
eni.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
eni.h
firestream.c potential compiler error, irqfunc caller sites update 2007-07-06 10:23:43 -07:00
firestream.h
fore200e_firmware_copyright
fore200e_mkfirm.c
fore200e.c
fore200e.h
he.c
he.h
horizon.c
horizon.h
idt77105.c
idt77105.h
idt77252_tables.h
idt77252.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
idt77252.h
iphase.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
iphase.h
Kconfig
lanai.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
Makefile
midway.h
nicstar.c
nicstar.h
nicstarmac.c
nicstarmac.copyright
pca200e_ecd.data
pca200e.data
sba200e_ecd.data
suni.c
suni.h
tonga.h
uPD98401.h
uPD98402.c
uPD98402.h
zatm.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
zatm.h
zeprom.h