diff options
-rw-r--r-- | drivers/net/s2io.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index eff747cf3113..fcf61107046e 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -65,9 +65,11 @@ | |||
65 | #include "s2io.h" | 65 | #include "s2io.h" |
66 | #include "s2io-regs.h" | 66 | #include "s2io-regs.h" |
67 | 67 | ||
68 | #define DRV_VERSION "Version 2.0.9.1" | ||
69 | |||
68 | /* S2io Driver name & version. */ | 70 | /* S2io Driver name & version. */ |
69 | static char s2io_driver_name[] = "Neterion"; | 71 | static char s2io_driver_name[] = "Neterion"; |
70 | static char s2io_driver_version[] = "Version 2.0.9.1"; | 72 | static char s2io_driver_version[] = DRV_VERSION; |
71 | 73 | ||
72 | static inline int RXD_IS_UP2DT(RxD_t *rxdp) | 74 | static inline int RXD_IS_UP2DT(RxD_t *rxdp) |
73 | { | 75 | { |
@@ -5635,6 +5637,8 @@ static void s2io_init_pci(nic_t * sp) | |||
5635 | 5637 | ||
5636 | MODULE_AUTHOR("Raghavendra Koushik <raghavendra.koushik@neterion.com>"); | 5638 | MODULE_AUTHOR("Raghavendra Koushik <raghavendra.koushik@neterion.com>"); |
5637 | MODULE_LICENSE("GPL"); | 5639 | MODULE_LICENSE("GPL"); |
5640 | MODULE_VERSION(DRV_VERSION); | ||
5641 | |||
5638 | module_param(tx_fifo_num, int, 0); | 5642 | module_param(tx_fifo_num, int, 0); |
5639 | module_param(rx_ring_num, int, 0); | 5643 | module_param(rx_ring_num, int, 0); |
5640 | module_param_array(tx_fifo_len, uint, NULL, 0); | 5644 | module_param_array(tx_fifo_len, uint, NULL, 0); |
@@ -6013,7 +6017,7 @@ Defaulting to INTA\n"); | |||
6013 | if (sp->device_type & XFRAME_II_DEVICE) { | 6017 | if (sp->device_type & XFRAME_II_DEVICE) { |
6014 | DBG_PRINT(ERR_DBG, "%s: Neterion Xframe II 10GbE adapter ", | 6018 | DBG_PRINT(ERR_DBG, "%s: Neterion Xframe II 10GbE adapter ", |
6015 | dev->name); | 6019 | dev->name); |
6016 | DBG_PRINT(ERR_DBG, "(rev %d), %s", | 6020 | DBG_PRINT(ERR_DBG, "(rev %d), Version %s", |
6017 | get_xena_rev_id(sp->pdev), | 6021 | get_xena_rev_id(sp->pdev), |
6018 | s2io_driver_version); | 6022 | s2io_driver_version); |
6019 | #ifdef CONFIG_2BUFF_MODE | 6023 | #ifdef CONFIG_2BUFF_MODE |
@@ -6048,7 +6052,7 @@ Defaulting to INTA\n"); | |||
6048 | } else { | 6052 | } else { |
6049 | DBG_PRINT(ERR_DBG, "%s: Neterion Xframe I 10GbE adapter ", | 6053 | DBG_PRINT(ERR_DBG, "%s: Neterion Xframe I 10GbE adapter ", |
6050 | dev->name); | 6054 | dev->name); |
6051 | DBG_PRINT(ERR_DBG, "(rev %d), %s", | 6055 | DBG_PRINT(ERR_DBG, "(rev %d), Version %s", |
6052 | get_xena_rev_id(sp->pdev), | 6056 | get_xena_rev_id(sp->pdev), |
6053 | s2io_driver_version); | 6057 | s2io_driver_version); |
6054 | #ifdef CONFIG_2BUFF_MODE | 6058 | #ifdef CONFIG_2BUFF_MODE |