Commit e601d778 authored by Armen Baloyan's avatar Armen Baloyan Committed by James Bottomley

[SCSI] qla2xxx: Perform warm reset every 2 minutes if firmware load fails for ISPFX00.

Signed-off-by: default avatarArmen Baloyan <armen.baloyan@qlogic.com>
Acked-by: default avatarSrinivasa Rao <srinivasa.rao@qlogic.com>
Signed-off-by: default avatarSaurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent b6511d99
...@@ -1606,6 +1606,14 @@ qlafx00_abort_isp(scsi_qla_host_t *vha) ...@@ -1606,6 +1606,14 @@ qlafx00_abort_isp(scsi_qla_host_t *vha)
scsi_block_requests(vha->host); scsi_block_requests(vha->host);
qlafx00_abort_isp_cleanup(vha); qlafx00_abort_isp_cleanup(vha);
} else {
scsi_block_requests(vha->host);
clear_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
vha->qla_stats.total_isp_aborts++;
ha->isp_ops->reset_chip(vha);
set_bit(FX00_RESET_RECOVERY, &vha->dpc_flags);
/* Clear the Interrupts */
QLAFX00_CLR_INTR_REG(ha, QLAFX00_HST_INT_STS_BITS);
} }
ql_log(ql_log_info, vha, 0x0145, ql_log(ql_log_info, vha, 0x0145,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment