diff options
author | John W. Linville <linville@tuxdriver.com> | 2005-05-12 22:23:29 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-12 22:23:29 -0400 |
commit | 01e5abc24a67d7d619b448428782df21880fdce6 (patch) | |
tree | 5b66212092128e9b5ce4913ee8acbf97d07a25cd /drivers/net/ixgb | |
parent | 31c27f7334b7fb8b63c862f7d22600324da844ab (diff) |
[PATCH] ixgb: Add MODULE_VERSION
Add MODULE_VERSION entry.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/ixgb')
-rw-r--r-- | drivers/net/ixgb/ixgb_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ixgb/ixgb_main.c b/drivers/net/ixgb/ixgb_main.c index 7d26623d8592..a6af9d9e3408 100644 --- a/drivers/net/ixgb/ixgb_main.c +++ b/drivers/net/ixgb/ixgb_main.c | |||
@@ -47,7 +47,8 @@ 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.90-k2"DRIVERNAPI; | 50 | #define DRV_VERSION "1.0.90-k2"DRIVERNAPI |
51 | char ixgb_driver_version[] = DRV_VERSION; | ||
51 | char ixgb_copyright[] = "Copyright (c) 1999-2005 Intel Corporation."; | 52 | char ixgb_copyright[] = "Copyright (c) 1999-2005 Intel Corporation."; |
52 | 53 | ||
53 | /* ixgb_pci_tbl - PCI Device ID Table | 54 | /* ixgb_pci_tbl - PCI Device ID Table |
@@ -152,6 +153,7 @@ static struct pci_driver ixgb_driver = { | |||
152 | MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>"); | 153 | MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>"); |
153 | MODULE_DESCRIPTION("Intel(R) PRO/10GbE Network Driver"); | 154 | MODULE_DESCRIPTION("Intel(R) PRO/10GbE Network Driver"); |
154 | MODULE_LICENSE("GPL"); | 155 | MODULE_LICENSE("GPL"); |
156 | MODULE_VERSION(DRV_VERSION); | ||
155 | 157 | ||
156 | /* some defines for controlling descriptor fetches in h/w */ | 158 | /* some defines for controlling descriptor fetches in h/w */ |
157 | #define RXDCTL_PTHRESH_DEFAULT 128 /* chip considers prefech below this */ | 159 | #define RXDCTL_PTHRESH_DEFAULT 128 /* chip considers prefech below this */ |