linux_dsm_epyc7002/drivers/scsi/qla2xxx
Vladislav Bolkhovitin b0328beed0 [SCSI] qla2xxx: Fix to allow to reset devices using sg interface (sg_reset).
Currently it is impossible to reset provided by Qlogic QLA2xxx driver
SCSI devices externally using corresponding sg devices, particularly via
sg_reset utility, because qla2xxx driver in qla2xxx_eh_device_reset()
function checks if the input scsi_cmnd has its private data (CMD_SP())
attached. Then the found pointer isn't used anywhere inside of
qla2xxx_eh_device_reset(). If the RESET request comes from sg device, it
doesn't have such private data.

The attached patch removes check for non-NULL CMD_SP() from
qla2xxx_eh_device_reset(), hence allows to reset QLA2xxx's devices using
corresponding sg devices.

AV: change applies to bus/host reset handlers as well.

Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-08-06 11:30:28 -05:00
..
Kconfig [SCSI] qla2xxx: Remove obsolete firmware-loader-module support. 2006-05-20 09:49:13 -05:00
Makefile [SCSI] qla2xxx: Remove obsolete firmware-loader-module support. 2006-05-20 09:49:13 -05:00
qla_attr.c [SCSI] qla2xxx: Create an VPD sysfs entry for supported ISPs only. 2006-06-26 16:22:57 -05:00
qla_dbg.c [SCSI] qla2xxx: Rework firmware-trace facilities. 2006-06-26 16:20:44 -05:00
qla_dbg.h [SCSI] qla2xxx: Add support for extended error logging. 2006-06-26 16:24:36 -05:00
qla_def.h [SCSI] qla2xxx: Log Trace/Diagonostic asynchronous events. 2006-08-06 11:30:10 -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 [SCSI] qla2xxx: make some more functions static 2006-06-30 21:34:18 -05:00
qla_gs.c [SCSI] qla2xxx: Add ISP54xx support. 2006-03-12 09:38:03 -06:00
qla_init.c [SCSI] qla2xxx: make some more functions static 2006-06-30 21:34:18 -05:00
qla_inline.h [SCSI] qla2xxx: Add ISP54xx support. 2006-03-12 09:38:03 -06: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: Log Trace/Diagonostic asynchronous events. 2006-08-06 11:30:10 -05:00
qla_mbx.c [SCSI] qla2xxx: Cleanup DEBUG macro usage. 2006-06-26 16:24:07 -05:00
qla_os.c [SCSI] qla2xxx: Fix to allow to reset devices using sg interface (sg_reset). 2006-08-06 11:30:28 -05:00
qla_settings.h [SCSI] qla2xxx: Drop unused driver cruft. 2006-05-20 09:43:22 -05:00
qla_sup.c [SCSI] qla2xxx: Add support for new flash part. 2006-05-20 09:40:41 -05:00
qla_version.h [SCSI] qla2xxx: Update version number to 8.01.05-k3. 2006-06-26 16:25:52 -05:00