From: Saurav Kashyap Date: Wed, 22 Aug 2012 18:21:28 +0000 (-0400) Subject: [SCSI] qla2xxx: Enable fw attributes for ISP24xx and above. X-Git-Tag: next-20120917~76^2^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7b68d6129f93b250bf1a896c10ce85e902f086ac;p=karo-tx-linux.git [SCSI] qla2xxx: Enable fw attributes for ISP24xx and above. Signed-off-by: Saurav Kashyap Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c index 3d35024f6cb4..18c509fae555 100644 --- a/drivers/scsi/qla2xxx/qla_mbx.c +++ b/drivers/scsi/qla2xxx/qla_mbx.c @@ -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;