summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx/ql4_nx.c
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2012-09-20 13:35:02 +0200
committerJames Bottomley <JBottomley@Parallels.com>2012-09-24 10:26:35 +0200
commitecca51203b8d9e5d09e40e7a52835392a83858e0 (patch)
tree63f114fb8d931faf1843c172eb02d6a26a35e3d5 /drivers/scsi/qla4xxx/ql4_nx.c
parent[SCSI] qla4xxx: Added new mbox cmd to pass driver version to FW (diff)
downloadlinux-ecca51203b8d9e5d09e40e7a52835392a83858e0.tar.xz
linux-ecca51203b8d9e5d09e40e7a52835392a83858e0.zip
[SCSI] qla4xxx: Print correct IDC version
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nx.c')
-rw-r--r--drivers/scsi/qla4xxx/ql4_nx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c
index 20825d5dd73b..9b67aadf9fd0 100644
--- a/drivers/scsi/qla4xxx/ql4_nx.c
+++ b/drivers/scsi/qla4xxx/ql4_nx.c
@@ -2809,7 +2809,7 @@ static int qla4_83xx_set_idc_ver(struct scsi_qla_host *ha)
qla4_8xxx_wr_direct(ha, QLA8XXX_CRB_DRV_IDC_VERSION, idc_ver);
ql4_printk(KERN_INFO, ha,
"%s: IDC version updated to %d\n", __func__,
- QLA83XX_IDC_VER_MAJ_VALUE);
+ idc_ver);
} else {
idc_ver = qla4_8xxx_rd_direct(ha, QLA8XXX_CRB_DRV_IDC_VERSION);
idc_ver &= 0xFF;