summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_init.c
diff options
context:
space:
mode:
authorJoe Carnuccio <joe.carnuccio@qlogic.com>2013-08-27 07:37:35 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-09-03 16:28:02 +0200
commitc46e65c7e544b85efaec1f0f82e64f9a00217b76 (patch)
tree8960e0f4a18cde2c4572d82d365999565efef04f /drivers/scsi/qla2xxx/qla_init.c
parent[SCSI] qla2xxx: Remove QL_DEBUG_LEVEL_17 defines from qla_nx.c. (diff)
downloadlinux-c46e65c7e544b85efaec1f0f82e64f9a00217b76.tar.xz
linux-c46e65c7e544b85efaec1f0f82e64f9a00217b76.zip
[SCSI] qla2xxx: Add setting of driver version string for vendor application.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
index a92b166a73e2..71cbdeb591c7 100644
--- a/drivers/scsi/qla2xxx/qla_init.c
+++ b/drivers/scsi/qla2xxx/qla_init.c
@@ -626,6 +626,11 @@ qla2x00_initialize_adapter(scsi_qla_host_t *vha)
if (IS_QLA24XX_TYPE(ha) || IS_QLA25XX(ha))
qla24xx_read_fcp_prio_cfg(vha);
+ if (IS_P3P_TYPE(ha))
+ qla82xx_set_driver_version(vha, QLA2XXX_VERSION);
+ else
+ qla25xx_set_driver_version(vha, QLA2XXX_VERSION);
+
return (rval);
}