aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorSantosh Vernekar <santosh.vernekar@qlogic.com>2012-08-22 14:21:13 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-24 04:10:49 -0400
commita6171297c2dc5964570ca6a2036bddff9530004e (patch)
tree794f2c4aa3152234ca68f1bfea190e7e05ba7ccd /drivers/scsi/qla2xxx/qla_init.c
parent0143d8b7460e790ee522dcef0072801e8818c4eb (diff)
[SCSI] qla2xxx: Perform ROM mbx cmd access only after ISP soft-reset during f/w recovery.
Signed-off-by: Santosh Vernekar <santosh.vernekar@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index 414f810726f0..117338da6053 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -4301,17 +4301,17 @@ qla2x00_abort_isp(scsi_qla_host_t *vha)
4301 struct req_que *req = ha->req_q_map[0]; 4301 struct req_que *req = ha->req_q_map[0];
4302 unsigned long flags; 4302 unsigned long flags;
4303 4303
4304 if (IS_QLA8031(ha)) {
4305 ql_dbg(ql_dbg_p3p, vha, 0xb05c,
4306 "Clearing fcoe driver presence.\n");
4307 if (qla83xx_clear_drv_presence(vha) != QLA_SUCCESS)
4308 ql_dbg(ql_dbg_p3p, vha, 0xb073,
4309 "Erro while clearing DRV-Presence.\n");
4310 }
4311
4312 if (vha->flags.online) { 4304 if (vha->flags.online) {
4313 qla2x00_abort_isp_cleanup(vha); 4305 qla2x00_abort_isp_cleanup(vha);
4314 4306
4307 if (IS_QLA8031(ha)) {
4308 ql_dbg(ql_dbg_p3p, vha, 0xb05c,
4309 "Clearing fcoe driver presence.\n");
4310 if (qla83xx_clear_drv_presence(vha) != QLA_SUCCESS)
4311 ql_dbg(ql_dbg_p3p, vha, 0xb073,
4312 "Error while clearing DRV-Presence.\n");
4313 }
4314
4315 if (unlikely(pci_channel_offline(ha->pdev) && 4315 if (unlikely(pci_channel_offline(ha->pdev) &&
4316 ha->flags.pci_channel_io_perm_failure)) { 4316 ha->flags.pci_channel_io_perm_failure)) {
4317 clear_bit(ISP_ABORT_RETRY, &vha->dpc_flags); 4317 clear_bit(ISP_ABORT_RETRY, &vha->dpc_flags);