android_kernel_motorola_sm6225/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 [PATCH] PCI: arch/i386/pci/acpi.c: use for_each_pci_dev 2006-01-09 12:13:15 -08:00
common.c [PATCH] MSI-X: fix resume crash 2007-03-28 13:59:37 -07:00
direct.c [PATCH] i386: Fix PCI BIOS config space access 2006-10-05 18:47:22 +02:00
early.c [PATCH] x86: add write_pci_config_byte() to direct PCI access routines 2006-12-07 02:14:10 +01:00
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 [PATCH] x86: remove last two pci_find offenders in the core code 2006-12-07 02:14:03 +01:00
legacy.c [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
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 [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
pcbios.c [PATCH] paravirt: Be careful about touching BIOS address space 2006-12-07 02:14:08 +01:00
pci.h [PATCH] mmconfig: fix unreachable_devices() 2007-02-13 13:26:20 +01:00
visws.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00