android_kernel_xiaomi_sdm845/drivers/ide/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
..
aec62xx.c ide: add short cables support 2007-07-09 23:17:58 +02:00
alim15x3.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
amd74xx.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
atiixp.c ide: add short cables support 2007-07-09 23:17:58 +02:00
cmd64x.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
cmd640.c ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
cs5520.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
cs5530.c ide: remove ide_dma_enable() 2007-05-16 00:51:46 +02:00
cs5535.c ide: add short cables support 2007-07-09 23:17:58 +02:00
cy82c693.c ide: use PIO/MMIO operations directly where possible (v2) 2007-02-17 02:40:25 +01:00
delkin_cb.c ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
generic.c ide: generic IDE PCI driver, add another device exception 2007-06-08 15:14:31 +02:00
hpt34x.c ide: add ide_tune_dma() helper 2007-05-10 00:01:09 +02:00
hpt366.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
it821x.c ide: add short cables support 2007-07-09 23:17:58 +02:00
it8213.c ide: add short cables support 2007-07-09 23:17:58 +02:00
jmicron.c ide: add short cables support 2007-07-09 23:17:58 +02:00
Makefile scc_pata: dependency fix 2007-03-17 21:57:25 +01:00
ns87415.c ide: add ide_set_dma() helper (v2) 2007-02-17 02:40:26 +01:00
opti621.c ide: remove some obsoleted kernel params (v2) 2007-03-03 17:48:55 +01:00
pdc202xx_new.c ide: add short cables support 2007-07-09 23:17:58 +02:00
pdc202xx_old.c ide: add short cables support 2007-07-09 23:17:58 +02:00
piix.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
rz1000.c ide: remove a ton of pointless #undef REALLY_SLOW_IO 2007-03-03 17:48:54 +01:00
sc1200.c ide: remove ide_dma_enable() 2007-05-16 00:51:46 +02:00
scc_pata.c ide: add short cables support 2007-07-09 23:17:58 +02:00
serverworks.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
sgiioc4.c ide: make void and rename ide_dma_timeout() method 2007-07-09 23:17:54 +02:00
siimage.c ide: add short cables support 2007-07-09 23:17:58 +02:00
sis5513.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
sl82c105.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
slc90e66.c ide: add short cables support 2007-07-09 23:17:58 +02:00
tc86c001.c ide: add short cables support 2007-07-09 23:17:58 +02:00
triflex.c ide: add ide_tune_dma() helper 2007-05-10 00:01:09 +02:00
trm290.c ide: use PIO/MMIO operations directly where possible (v2) 2007-02-17 02:40:25 +01:00
via82cxxx.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00