netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] myri10ge: add MODULE_DEVICE_TABLE
@ 2009-04-16 12:29 Brice Goglin
  2009-04-17  0:58 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Brice Goglin @ 2009-04-16 12:29 UTC (permalink / raw)
  To: David S. Miller; +Cc: Linux Network Development list

Add MODULE_DEVICE_TABLE so that modinfo reports pci device id aliases.

Signed-off-by: Brice Goglin <brice@myri.com>

--- linux-tmp.old/drivers/net/myri10ge/myri10ge.c	2009-03-27 17:16:43.000000000 +0100
+++ linux-tmp/drivers/net/myri10ge/myri10ge.c	2009-04-07 20:40:07.000000000 +0200
@@ -75,7 +75,7 @@
 #include "myri10ge_mcp.h"
 #include "myri10ge_mcp_gen_header.h"
 
-#define MYRI10GE_VERSION_STR "1.4.4-1.401"
+#define MYRI10GE_VERSION_STR "1.4.4-1.412"
 
 MODULE_DESCRIPTION("Myricom 10G driver (10GbE)");
 MODULE_AUTHOR("Maintainer: help@myri.com");
@@ -4035,6 +4035,8 @@
 	{0},
 };
 
+MODULE_DEVICE_TABLE(pci, myri10ge_pci_tbl);
+
 static struct pci_driver myri10ge_driver = {
 	.name = "myri10ge",
 	.probe = myri10ge_probe,



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] myri10ge: add MODULE_DEVICE_TABLE
  2009-04-16 12:29 [PATCH net-next] myri10ge: add MODULE_DEVICE_TABLE Brice Goglin
@ 2009-04-17  0:58 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-04-17  0:58 UTC (permalink / raw)
  To: brice; +Cc: netdev

From: Brice Goglin <brice@myri.com>
Date: Thu, 16 Apr 2009 14:29:22 +0200

> Add MODULE_DEVICE_TABLE so that modinfo reports pci device id aliases.
> 
> Signed-off-by: Brice Goglin <brice@myri.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-17  0:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16 12:29 [PATCH net-next] myri10ge: add MODULE_DEVICE_TABLE Brice Goglin
2009-04-17  0:58 ` David Miller

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).