diff options
Diffstat (limited to 'drivers/net/ixgb')
-rw-r--r-- | drivers/net/ixgb/ixgb_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c index 35f6a7c271a2..097b90ccf575 100644 --- a/drivers/net/ixgb/ixgb_main.c +++ b/drivers/net/ixgb/ixgb_main.c | |||
@@ -47,7 +47,9 @@ char ixgb_driver_string[] = "Intel(R) PRO/10GbE Network Driver"; | |||
47 | #else | 47 | #else |
48 | #define DRIVERNAPI "-NAPI" | 48 | #define DRIVERNAPI "-NAPI" |
49 | #endif | 49 | #endif |
50 | char ixgb_driver_version[] = "1.0.95-k2"DRIVERNAPI; | 50 | |
51 | #define DRV_VERSION "1.0.95-k2"DRIVERNAPI | ||
52 | char ixgb_driver_version[] = DRV_VERSION; | ||
51 | char ixgb_copyright[] = "Copyright (c) 1999-2005 Intel Corporation."; | 53 | char ixgb_copyright[] = "Copyright (c) 1999-2005 Intel Corporation."; |
52 | 54 | ||
53 | /* ixgb_pci_tbl - PCI Device ID Table | 55 | /* ixgb_pci_tbl - PCI Device ID Table |
@@ -140,6 +142,7 @@ static struct pci_driver ixgb_driver = { | |||
140 | MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>"); | 142 | MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>"); |
141 | MODULE_DESCRIPTION("Intel(R) PRO/10GbE Network Driver"); | 143 | MODULE_DESCRIPTION("Intel(R) PRO/10GbE Network Driver"); |
142 | MODULE_LICENSE("GPL"); | 144 | MODULE_LICENSE("GPL"); |
145 | MODULE_VERSION(DRV_VERSION); | ||
143 | 146 | ||
144 | /* some defines for controlling descriptor fetches in h/w */ | 147 | /* some defines for controlling descriptor fetches in h/w */ |
145 | #define RXDCTL_PTHRESH_DEFAULT 128 /* chip considers prefech below this */ | 148 | #define RXDCTL_PTHRESH_DEFAULT 128 /* chip considers prefech below this */ |