[SCSI] qla2xxx: Fix reset time out as qla2xxx not ack to reset request.
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Wed, 25 Apr 2012 14:26:13 +0000 (07:26 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 10 May 2012 07:07:49 +0000 (08:07 +0100)
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>
drivers/scsi/qla2xxx/qla_nx.c

index f0528539bbbc9a0e0ba6b98ea6115016fe6e61f6..de722a933438dea5de3b60ce03b212b1170d734d 100644 (file)
@@ -3125,6 +3125,7 @@ qla82xx_need_reset_handler(scsi_qla_host_t *vha)
                ql_log(ql_log_info, vha, 0x00b7,
                    "HW State: COLD/RE-INIT.\n");
                qla82xx_wr_32(ha, QLA82XX_CRB_DEV_STATE, QLA82XX_DEV_COLD);
+               qla82xx_set_rst_ready(ha);
                if (ql2xmdenable) {
                        if (qla82xx_md_collect(vha))
                                ql_log(ql_log_warn, vha, 0xb02c,