* [patch netdev-2.6] e1000: add MODULE_VERSION
@ 2005-03-30 18:44 John W. Linville
0 siblings, 0 replies; 2+ messages in thread
From: John W. Linville @ 2005-03-30 18:44 UTC (permalink / raw)
To: linux-kernel
Cc: netdev, jgarzik, ayyappan.veeraiyan, 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/e1000/e1000_main.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
--- netdev-2.6/drivers/net/e1000/e1000_main.c.orig 2005-03-30 13:30:02.355409590 -0500
+++ netdev-2.6/drivers/net/e1000/e1000_main.c 2005-03-30 13:31:13.174846755 -0500
@@ -65,7 +65,8 @@ char e1000_driver_string[] = "Intel(R) P
#else
#define DRIVERNAPI "-NAPI"
#endif
-char e1000_driver_version[] = "5.7.6-k2"DRIVERNAPI;
+#define DRV_VERSION "5.7.6-k2"DRIVERNAPI
+char e1000_driver_version[] = DRV_VERSION;
char e1000_copyright[] = "Copyright (c) 1999-2004 Intel Corporation.";
/* e1000_pci_tbl - PCI Device ID Table
@@ -210,6 +211,7 @@ static struct pci_driver e1000_driver =
MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>");
MODULE_DESCRIPTION("Intel(R) PRO/1000 Network Driver");
MODULE_LICENSE("GPL");
+MODULE_VERSION(DRV_VERSION);
static int debug = NETIF_MSG_DRV | NETIF_MSG_PROBE;
module_param(debug, int, 0);
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [patch netdev-2.6] e1000: add MODULE_VERSION
@ 2005-03-31 16:42 Venkatesan, Ganesh
0 siblings, 0 replies; 2+ messages in thread
From: Venkatesan, Ganesh @ 2005-03-31 16:42 UTC (permalink / raw)
To: John W. Linville, linux-kernel
Cc: netdev, jgarzik, Veeraiyan, Ayyappan, Ronciak, John
John:
We will include this in the next release of our driver.
Thanks,
Ganesh.
>-----Original Message-----
>From: John W. Linville [mailto:linville@tuxdriver.com]
>Sent: Wednesday, March 30, 2005 10:44 AM
>To: linux-kernel@vger.kernel.org
>Cc: netdev@oss.sgi.com; jgarzik@pobox.com; Veeraiyan, Ayyappan;
Ronciak,
>John; Venkatesan, Ganesh
>Subject: [patch netdev-2.6] e1000: add MODULE_VERSION
>
>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/e1000/e1000_main.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletion(-)
>
>--- netdev-2.6/drivers/net/e1000/e1000_main.c.orig 2005-03-30
>13:30:02.355409590 -0500
>+++ netdev-2.6/drivers/net/e1000/e1000_main.c 2005-03-30
>13:31:13.174846755 -0500
>@@ -65,7 +65,8 @@ char e1000_driver_string[] = "Intel(R) P
> #else
> #define DRIVERNAPI "-NAPI"
> #endif
>-char e1000_driver_version[] = "5.7.6-k2"DRIVERNAPI;
>+#define DRV_VERSION "5.7.6-k2"DRIVERNAPI
>+char e1000_driver_version[] = DRV_VERSION;
> char e1000_copyright[] = "Copyright (c) 1999-2004 Intel Corporation.";
>
> /* e1000_pci_tbl - PCI Device ID Table
>@@ -210,6 +211,7 @@ static struct pci_driver e1000_driver =
> MODULE_AUTHOR("Intel Corporation, <linux.nics@intel.com>");
> MODULE_DESCRIPTION("Intel(R) PRO/1000 Network Driver");
> MODULE_LICENSE("GPL");
>+MODULE_VERSION(DRV_VERSION);
>
> static int debug = NETIF_MSG_DRV | NETIF_MSG_PROBE;
> module_param(debug, int, 0);
>--
>John W. Linville
>linville@tuxdriver.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-31 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-30 18:44 [patch netdev-2.6] e1000: add MODULE_VERSION John W. Linville
-- strict thread matches above, loose matches on Subject: below --
2005-03-31 16:42 Venkatesan, Ganesh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).