mirror of https://gitee.com/openkylin/linux.git
[SCSI] qla2xxx: Fix reset time out as qla2xxx not ack to reset request.
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
93f90e5186
commit
f4e1648a4f
|
@ -3125,6 +3125,7 @@ qla82xx_need_reset_handler(scsi_qla_host_t *vha)
|
||||||
ql_log(ql_log_info, vha, 0x00b7,
|
ql_log(ql_log_info, vha, 0x00b7,
|
||||||
"HW State: COLD/RE-INIT.\n");
|
"HW State: COLD/RE-INIT.\n");
|
||||||
qla82xx_wr_32(ha, QLA82XX_CRB_DEV_STATE, QLA82XX_DEV_COLD);
|
qla82xx_wr_32(ha, QLA82XX_CRB_DEV_STATE, QLA82XX_DEV_COLD);
|
||||||
|
qla82xx_set_rst_ready(ha);
|
||||||
if (ql2xmdenable) {
|
if (ql2xmdenable) {
|
||||||
if (qla82xx_md_collect(vha))
|
if (qla82xx_md_collect(vha))
|
||||||
ql_log(ql_log_warn, vha, 0xb02c,
|
ql_log(ql_log_warn, vha, 0xb02c,
|
||||||
|
|
Loading…
Reference in New Issue