android_kernel_xiaomi_sm7250/drivers/scsi/qla2xxx
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
..
Kconfig
Makefile
qla_attr.c [SCSI] qla2xxx: Allow NVRAM updates to immediately go into effect. 2007-01-31 11:14:32 -06:00
qla_dbg.c [SCSI] qla2xxx: Rework firmware-trace facilities. 2006-06-26 16:20:44 -05:00
qla_dbg.h [SCSI] Maintain module-parameter name consistency with qla2xxx/qla4xxx. 2006-10-25 15:12:17 -07:00
qla_def.h [SCSI] qla2xxx: fix RSCN handling on big-endian systems 2007-03-20 10:49:40 -05:00
qla_devtbl.h [SCSI] qla2xxx: Resync with latest HBA SSID specification -- 2.2j. 2006-06-26 16:21:25 -05:00
qla_fw.h [SCSI] qla2xxx: Correctly set the firmware NOS/OLS timeout during initialization. 2006-06-26 16:25:34 -05:00
qla_gbl.h Merge branch 'linus' 2007-01-31 11:24:00 -06:00
qla_gs.c [SCSI] qla2xxx: Detect GPSC capabilities within a fabric. 2007-01-03 16:57:54 -06:00
qla_init.c PCI: Change all drivers to use pci_device->revision 2007-07-11 16:02:10 -07:00
qla_inline.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
qla_iocb.c [SCSI] qla2xxx: Correct endianess problem while issuing a Marker IOCB on ISP24xx. 2006-08-06 11:29:45 -05:00
qla_isr.c [SCSI] qla2xxx: Add MSI support. 2007-05-08 11:21:45 -05:00
qla_mbx.c [SCSI] qla2xxx: fix for byteswap in fc_host fabric_name 2007-04-01 10:03:00 -05:00
qla_os.c [SCSI] qla2xxx: fix timeout in qla2x00_down_timeout 2007-05-30 10:15:32 -05:00
qla_settings.h
qla_sup.c [SCSI] qla2xxx: Drop acquisition of hardware_lock during flash manipulations. 2007-03-20 10:50:50 -05:00
qla_version.h [SCSI] qla2xxx: Update version number to 8.01.07-k7. 2007-05-08 11:21:59 -05:00