[SCSI] qla2xxx: Fix incorrect register access in qla2x00_start_iocbs().
authorArun Easi <arun.easi@qlogic.com>
Thu, 9 Feb 2012 19:15:59 +0000 (11:15 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:34:26 +0000 (08:34 -0600)
Signed-off-by: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_iocb.c

index 8ce8103..eac9509 100644 (file)
@@ -490,7 +490,7 @@ qla2x00_start_iocbs(struct scsi_qla_host *vha, struct req_que *req)
                /* Set chip new ring index. */
                if (ha->mqenable || IS_QLA83XX(ha)) {
                        WRT_REG_DWORD(req->req_q_in, req->ring_index);
-                       RD_REG_DWORD_RELAXED(&reg->isp24.req_q_in);
+                       RD_REG_DWORD_RELAXED(&ha->iobase->isp24.hccr);
                } else if (IS_FWI2_CAPABLE(ha)) {
                        WRT_REG_DWORD(&reg->isp24.req_q_in, req->ring_index);
                        RD_REG_DWORD_RELAXED(&reg->isp24.req_q_in);