]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[SCSI] qla2xxx: Enable fw attributes for ISP24xx and above.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Wed, 22 Aug 2012 18:21:28 +0000 (14:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 14 Sep 2012 17:28:53 +0000 (18:28 +0100)
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_mbx.c

index 3d35024f6cb480306bfbc656b2c5f295763f9770..18c509fae555a2c7331a87b817eab581ebc03d2c 100644 (file)
@@ -533,7 +533,7 @@ qla2x00_get_fw_version(scsi_qla_host_t *vha)
        mcp->in_mb = MBX_6|MBX_5|MBX_4|MBX_3|MBX_2|MBX_1|MBX_0;
        if (IS_QLA81XX(vha->hw) || IS_QLA8031(ha))
                mcp->in_mb |= MBX_13|MBX_12|MBX_11|MBX_10|MBX_9|MBX_8;
-       if (IS_QLA83XX(vha->hw))
+       if (IS_FWI2_CAPABLE(ha))
                mcp->in_mb |= MBX_17|MBX_16|MBX_15;
        mcp->flags = 0;
        mcp->tov = MBX_TOV_SECONDS;