mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-07 18:14:04 +00:00
scsi: qla2xxx: Add longer window for chip reset
qla2x00_reset_active only covers the window of turning the chip off. Add check to cover turning chip on. Signed-off-by: Quinn Tran <quinn.tran@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
23dd98a655
commit
7e84766c9b
@ -1130,6 +1130,7 @@ qla24xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked)
|
||||
ha->fw_dump);
|
||||
goto qla24xx_fw_dump_failed;
|
||||
}
|
||||
QLA_FW_STOPPED(ha);
|
||||
fw = &ha->fw_dump->isp.isp24;
|
||||
qla2xxx_prep_dump(ha, ha->fw_dump);
|
||||
|
||||
@ -1384,6 +1385,7 @@ qla25xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked)
|
||||
ha->fw_dump);
|
||||
goto qla25xx_fw_dump_failed;
|
||||
}
|
||||
QLA_FW_STOPPED(ha);
|
||||
fw = &ha->fw_dump->isp.isp25;
|
||||
qla2xxx_prep_dump(ha, ha->fw_dump);
|
||||
ha->fw_dump->version = htonl(2);
|
||||
@ -2036,6 +2038,7 @@ qla83xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked)
|
||||
"request...\n", ha->fw_dump);
|
||||
goto qla83xx_fw_dump_failed;
|
||||
}
|
||||
QLA_FW_STOPPED(ha);
|
||||
fw = &ha->fw_dump->isp.isp83;
|
||||
qla2xxx_prep_dump(ha, ha->fw_dump);
|
||||
|
||||
|
@ -1028,8 +1028,10 @@ qla27xx_fwdump(scsi_qla_host_t *vha, int hardware_locked)
|
||||
ql_log(ql_log_warn, vha, 0xd300,
|
||||
"Firmware has been previously dumped (%p),"
|
||||
" -- ignoring request\n", vha->hw->fw_dump);
|
||||
else
|
||||
else {
|
||||
QLA_FW_STOPPED(vha->hw);
|
||||
qla27xx_execute_fwdt_template(vha);
|
||||
}
|
||||
|
||||
#ifndef __CHECKER__
|
||||
if (!hardware_locked)
|
||||
|
Loading…
Reference in New Issue
Block a user