1
linux/arch/i386/pci
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
..
acpi.c
common.c [PATCH] MSI-X: fix resume crash 2007-03-28 13:59:37 -07:00
direct.c
early.c
fixup.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
i386.c PCI: add debug information to resource collision message 2007-05-02 19:02:38 -07:00
init.c i386 pci: use __maybe_unused 2007-05-09 12:30:56 -07:00
irq.c
legacy.c
Makefile [PATCH] mmconfig: Share parts of mmconfig code between i386 and x86-64 2007-02-13 13:26:20 +01:00
mmconfig-shared.c [PATCH] i386: Some additional chipset register values validation. 2007-05-02 19:27:22 +02:00
mmconfig.c [PATCH] mmconfig: fix unreachable_devices() 2007-02-13 13:26:20 +01:00
numa.c
pcbios.c
pci.h [PATCH] mmconfig: fix unreachable_devices() 2007-02-13 13:26:20 +01:00
visws.c