aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Xie <kxie@chelsio.com>2015-04-10 16:57:18 -0400
committerJames Bottomley <JBottomley@Odin.com>2015-05-25 11:46:25 -0400
commit0ea5bf3dc16c868e302e85d627f885fcf1aa6e81 (patch)
treedf04edb5f08da80413a562cc111a470576cf1fe1
parent1149a5ed72548dfb3ca0cf328b3737ebc678262b (diff)
cxgbi: update driver versions
Change driver version to follow the same format as other Chelsio drivers. Added missing release date back to cxgb4i and version string back to libcxgbi. Signed-off-by: Karen Xie <kxie@chelsio.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Odin.com>
-rw-r--r--drivers/scsi/cxgbi/cxgb3i/cxgb3i.c4
-rw-r--r--drivers/scsi/cxgbi/cxgb4i/cxgb4i.c5
-rw-r--r--drivers/scsi/cxgbi/libcxgbi.c10
3 files changed, 13 insertions, 6 deletions
diff --git a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
index 96c44f5cf1a5..0e2bee937fe8 100644
--- a/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
+++ b/drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
@@ -32,8 +32,8 @@ static unsigned int dbg_level;
32 32
33#define DRV_MODULE_NAME "cxgb3i" 33#define DRV_MODULE_NAME "cxgb3i"
34#define DRV_MODULE_DESC "Chelsio T3 iSCSI Driver" 34#define DRV_MODULE_DESC "Chelsio T3 iSCSI Driver"
35#define DRV_MODULE_VERSION "2.0.0" 35#define DRV_MODULE_VERSION "2.0.1-ko"
36#define DRV_MODULE_RELDATE "Jun. 2010" 36#define DRV_MODULE_RELDATE "Apr. 2015"
37 37
38static char version[] = 38static char version[] =
39 DRV_MODULE_DESC " " DRV_MODULE_NAME 39 DRV_MODULE_DESC " " DRV_MODULE_NAME
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
index 984d09280778..088aba1d2307 100644
--- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
+++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
@@ -36,11 +36,12 @@ static unsigned int dbg_level;
36 36
37#define DRV_MODULE_NAME "cxgb4i" 37#define DRV_MODULE_NAME "cxgb4i"
38#define DRV_MODULE_DESC "Chelsio T4/T5 iSCSI Driver" 38#define DRV_MODULE_DESC "Chelsio T4/T5 iSCSI Driver"
39#define DRV_MODULE_VERSION "0.9.4" 39#define DRV_MODULE_VERSION "0.9.5-ko"
40#define DRV_MODULE_RELDATE "Apr. 2015"
40 41
41static char version[] = 42static char version[] =
42 DRV_MODULE_DESC " " DRV_MODULE_NAME 43 DRV_MODULE_DESC " " DRV_MODULE_NAME
43 " v" DRV_MODULE_VERSION "\n"; 44 " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";
44 45
45MODULE_AUTHOR("Chelsio Communications, Inc."); 46MODULE_AUTHOR("Chelsio Communications, Inc.");
46MODULE_DESCRIPTION(DRV_MODULE_DESC); 47MODULE_DESCRIPTION(DRV_MODULE_DESC);
diff --git a/drivers/scsi/cxgbi/libcxgbi.c b/drivers/scsi/cxgbi/libcxgbi.c
index f4cfa1eda9e4..1d42e4f88b96 100644
--- a/drivers/scsi/cxgbi/libcxgbi.c
+++ b/drivers/scsi/cxgbi/libcxgbi.c
@@ -38,8 +38,12 @@ static unsigned int dbg_level;
38 38
39#define DRV_MODULE_NAME "libcxgbi" 39#define DRV_MODULE_NAME "libcxgbi"
40#define DRV_MODULE_DESC "Chelsio iSCSI driver library" 40#define DRV_MODULE_DESC "Chelsio iSCSI driver library"
41#define DRV_MODULE_VERSION "0.9.0" 41#define DRV_MODULE_VERSION "0.9.1-ko"
42#define DRV_MODULE_RELDATE "Jun. 2010" 42#define DRV_MODULE_RELDATE "Apr. 2015"
43
44static char version[] =
45 DRV_MODULE_DESC " " DRV_MODULE_NAME
46 " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";
43 47
44MODULE_AUTHOR("Chelsio Communications, Inc."); 48MODULE_AUTHOR("Chelsio Communications, Inc.");
45MODULE_DESCRIPTION(DRV_MODULE_DESC); 49MODULE_DESCRIPTION(DRV_MODULE_DESC);
@@ -2913,6 +2917,8 @@ static int __init libcxgbi_init_module(void)
2913 sw_tag_idx_bits = (__ilog2_u32(ISCSI_ITT_MASK)) + 1; 2917 sw_tag_idx_bits = (__ilog2_u32(ISCSI_ITT_MASK)) + 1;
2914 sw_tag_age_bits = (__ilog2_u32(ISCSI_AGE_MASK)) + 1; 2918 sw_tag_age_bits = (__ilog2_u32(ISCSI_AGE_MASK)) + 1;
2915 2919
2920 pr_info("%s", version);
2921
2916 pr_info("tag itt 0x%x, %u bits, age 0x%x, %u bits.\n", 2922 pr_info("tag itt 0x%x, %u bits, age 0x%x, %u bits.\n",
2917 ISCSI_ITT_MASK, sw_tag_idx_bits, 2923 ISCSI_ITT_MASK, sw_tag_idx_bits,
2918 ISCSI_AGE_MASK, sw_tag_age_bits); 2924 ISCSI_AGE_MASK, sw_tag_age_bits);