]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Enable fw attributes for ISP24xx and above.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Tue, 31 Jul 2012 07:59:46 +0000 (13:29 +0530)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 27 Aug 2012 09:44:28 +0000 (02:44 -0700)
JIRA Key: V2632FC-250

Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Acked-by: Armen Baloyan <armen.baloyan@qlogic.com>
drivers/scsi/qla2xxx/qla_mbx.c

index 4b7588f762eab28e43eaac2d3db252a2d96545c3..cb8cebf443281814fde37771155e1266a9c2d25f 100644 (file)
@@ -530,7 +530,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;