android_kernel_xiaomi_sm8350/drivers/ata
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
..
ahci.c [libata] AHCI: Add support for Marvell AHCI-like chips (initially 6145) 2007-07-09 12:17:35 -04:00
ata_generic.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
ata_piix.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
Kconfig scsi disk help file is not complete 2007-07-02 10:12:34 -04:00
libata-acpi.c libata-acpi: implement _GTM/_STM support 2007-07-09 12:17:32 -04:00
libata-core.c libata: Support chips with 64K PRD quirk 2007-07-09 12:17:35 -04:00
libata-eh.c libata-acpi: implement _GTM/_STM support 2007-07-09 12:17:32 -04:00
libata-scsi.c libata: Support chips with 64K PRD quirk 2007-07-09 12:17:35 -04:00
libata-sff.c libata: fix assigned IRQ reporting 2007-07-03 10:06:35 -04:00
libata.h libata-acpi: implement _GTM/_STM support 2007-07-09 12:17:32 -04:00
Makefile libata-acpi: s/CONFIG_SATA_ACPI/CONFIG_ATA_ACPI/ 2007-05-11 18:12:42 -04:00
pata_ali.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pata_amd.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pata_artop.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_atiixp.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_cmd64x.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_cmd640.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_cs5520.c libata: Support chips with 64K PRD quirk 2007-07-09 12:17:35 -04:00
pata_cs5530.c libata: Support chips with 64K PRD quirk 2007-07-09 12:17:35 -04:00
pata_cs5535.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_cypress.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_efar.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_hpt3x2n.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_hpt3x3.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_hpt37x.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_hpt366.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_icside.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_isapnp.c remove unused variable in pata_isapnp 2007-06-09 22:40:27 -04:00
pata_it821x.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pata_it8213.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_ixp4xx_cf.c [libata] pata_ixp4xx: kill unused var 2007-07-09 12:17:34 -04:00
pata_jmicron.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_legacy.c libata: bump versions 2007-05-21 20:26:38 -04:00
pata_marvell.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_mpc52xx.c libata: reimplement suspend/resume support using sdev->manage_start_stop 2007-05-11 18:01:03 -04:00
pata_mpiix.c libata: reimplement suspend/resume support using sdev->manage_start_stop 2007-05-11 18:01:03 -04:00
pata_netcell.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_ns87410.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_oldpiix.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_opti.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_optidma.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_pcmcia.c pata_pcmcia: Switch to ata_sff_port_start 2007-07-03 11:31:06 -04:00
pata_pdc202xx_old.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_pdc2027x.c libata: pata_pdc2027x PLL input clock fix 2007-07-02 10:12:34 -04:00
pata_platform.c Add irq_flags to struct pata_platform_info 2007-07-09 12:17:34 -04:00
pata_qdi.c libata: bump versions 2007-05-21 20:26:38 -04:00
pata_radisys.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_rz1000.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_sc1200.c libata: Support chips with 64K PRD quirk 2007-07-09 12:17:35 -04:00
pata_scc.c Fix build failure for drivers/ata/pata_scc.c 2007-05-25 04:17:31 -04:00
pata_serverworks.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pata_sil680.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_sis.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pata_sl82c105.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pata_triflex.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_via.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
pata_winbond.c libata: bump versions 2007-05-21 20:26:38 -04:00
pdc_adma.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
sata_inic162x.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
sata_mv.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
sata_nv.c [libata] sata_nv: undo merge error 2007-07-02 18:12:19 -04:00
sata_promise.c [libata] Clean up driver udma_mask initializers 2007-07-09 12:17:35 -04:00
sata_promise.h
sata_qstor.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
sata_sil24.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
sata_sil.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
sata_sis.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
sata_svw.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
sata_sx4.c [libata] Clean up driver udma_mask initializers 2007-07-09 12:17:35 -04:00
sata_uli.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
sata_via.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
sata_vsc.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
sis.h libata: PATA-mode fixes for sis_sata 2007-07-02 10:17:42 -04:00