* [patch netdev-2.6] ixgb: Add MODULE_VERSION
@ 2005-03-30 18:43 John W. Linville
0 siblings, 0 replies; only message in thread
From: John W. Linville @ 2005-03-30 18:43 UTC (permalink / raw)
To: linux-kernel; +Cc: netdev, jgarzik, cramerj, john.ronciak, ganesh.venkatesan
Add MODULE_VERSION entry.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
I posted one like this before, but it seems to have been lost or
overwritten...
drivers/net/ixgb/ixgb_main.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
--- netdev-2.6/drivers/net/ixgb/ixgb_main.c.orig 2005-03-30 13:34:37.803202027 -0500
+++ netdev-2.6/drivers/net/ixgb/ixgb_main.c 2005-03-30 13:34:12.038683827 -0500
@@ -47,7 +47,8 @@ char ixgb_driver_string[] = "Intel(R) PR
#else
#define DRIVERNAPI "-NAPI"
#endif
-char ixgb_driver_version[] = "1.0.90-k2"DRIVERNAPI;
+#define DRV_VERSION "1.0.90-k2"DRIVERNAPI
+char ixgb_driver_version[] = DRV_VERSION;
char ixgb_copyright[] = "Copyright (c) 1999-2005 Intel Corporation.";
/* ixgb_pci_tbl - PCI Device ID Table
@@ -152,6 +153,7 @@ static struct pci_driver ixgb_driver = {
MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>");
MODULE_DESCRIPTION("Intel(R) PRO/10GbE Network Driver");
MODULE_LICENSE("GPL");
+MODULE_VERSION(DRV_VERSION);
/* some defines for controlling descriptor fetches in h/w */
#define RXDCTL_PTHRESH_DEFAULT 128 /* chip considers prefech below this */
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-30 18:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-30 18:43 [patch netdev-2.6] ixgb: Add MODULE_VERSION John W. Linville
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.