linux/drivers/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
..
hotplug PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pcie PCI aer: add pci_cleanup_aer_correct_aer_status 2007-07-11 16:02:08 -07:00
.gitignore
access.c
bus.c pci: do not mark exported functions as __devinit 2007-05-02 19:02:35 -07:00
hotplug.c
htirq.c
Kconfig PCI: remove the broken PCI_MULTITHREAD_PROBE option 2007-05-02 19:02:38 -07:00
Makefile
msi.c msi: mask the msix vector before we unmap it 2007-06-01 08:18:27 -07:00
msi.h
pci-acpi.c PCI: fix AER driver error information 2007-07-11 16:02:08 -07:00
pci-driver.c Fix more "deprecated" spellos. 2007-05-09 07:19:14 +02:00
pci-sysfs.c PCI: Make pcibios_add_platform_entries() return errors 2007-07-11 16:02:07 -07:00
pci.c PCI: add PCI-X/PCI-Express read control interfaces 2007-07-11 16:02:07 -07:00
pci.h MSI: Use a list instead of the custom link structure 2007-05-02 19:02:37 -07:00
probe.c PCI: read revision ID by default 2007-07-11 16:02:09 -07:00
proc.c PCI: unexport pci_proc_attach_device 2007-07-11 16:02:08 -07:00
quirks.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
remove.c
rom.c
search.c PCI: Fix pci_find_present 2007-05-31 16:56:37 -07:00
setup-bus.c pci: do not mark exported functions as __devinit 2007-05-02 19:02:35 -07:00
setup-irq.c
setup-res.c pci: do not mark exported functions as __devinit 2007-05-02 19:02:35 -07:00
syscall.c pci syscall.c: Switch to refcounting API 2007-07-11 16:02:07 -07:00