android_kernel_xiaomi_sm8350/drivers/scsi/aic94xx
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
..
aic94xx_dev.c [SCSI] aic94xx: Lock DDB read/write accesses 2007-01-13 16:19:42 -06:00
aic94xx_dump.c [SCSI] aic94xx: update for v28 firmware 2007-02-03 13:54:14 -06:00
aic94xx_dump.h
aic94xx_hwi.c [PATCH] Transform kmem_cache_alloc()+memset(0) -> kmem_cache_zalloc(). 2007-02-11 10:51:27 -08:00
aic94xx_hwi.h [SCSI] aic94xx SCSI timeout fix 2006-11-09 14:27:48 +09:00
aic94xx_init.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
aic94xx_reg_def.h [SCSI] aic94xx: update for v28 firmware 2007-02-03 13:54:14 -06:00
aic94xx_reg.c
aic94xx_reg.h
aic94xx_sas.h [SCSI] aic94xx: Fix DDB and SCB initialization 2007-01-13 16:19:24 -06:00
aic94xx_scb.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
aic94xx_sds.c [SCSI] aic94xx: fix typos and update verison number 2007-01-27 09:24:53 -06:00
aic94xx_seq.c [SCSI] aic94xx: tie driver to the major number of the sequencer firmware 2007-02-16 09:43:31 -06:00
aic94xx_seq.h [SCSI] aic94xx: tie driver to the major number of the sequencer firmware 2007-02-16 09:43:31 -06:00
aic94xx_task.c [SCSI] libsas: Don't give scsi_cmnds to the EH if they never made it to the SAS LLDD or have already returned 2007-01-13 16:12:39 -06:00
aic94xx_tmf.c [SCSI] aic94xx: asd_clear_nexus should fail if the cleared task does not complete 2007-05-22 14:12:45 -05:00
aic94xx.h [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
Kconfig [SCSI] aic94xx: require firmware loader 2006-09-26 09:23:15 -07:00
Makefile Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00