Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e601d77

Browse files
Armen BaloyanJames Bottomley
authored andcommitted
[SCSI] qla2xxx: Perform warm reset every 2 minutes if firmware load fails for ISPFX00.
Signed-off-by: Armen Baloyan <[email protected]> Acked-by: Srinivasa Rao <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: James Bottomley <[email protected]>
1 parent b6511d9 commit e601d77

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/scsi/qla2xxx/qla_mr.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,6 +1606,14 @@ qlafx00_abort_isp(scsi_qla_host_t *vha)
16061606

16071607
scsi_block_requests(vha->host);
16081608
qlafx00_abort_isp_cleanup(vha);
1609+
} else {
1610+
scsi_block_requests(vha->host);
1611+
clear_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
1612+
vha->qla_stats.total_isp_aborts++;
1613+
ha->isp_ops->reset_chip(vha);
1614+
set_bit(FX00_RESET_RECOVERY, &vha->dpc_flags);
1615+
/* Clear the Interrupts */
1616+
QLAFX00_CLR_INTR_REG(ha, QLAFX00_HST_INT_STS_BITS);
16091617
}
16101618

16111619
ql_log(ql_log_info, vha, 0x0145,

0 commit comments

Comments
 (0)