diff mbox

[net-next] myri10ge: add MODULE_DEVICE_TABLE

Message ID 49E724A2.4040109@myri.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Brice Goglin April 16, 2009, 12:29 p.m. UTC
Add MODULE_DEVICE_TABLE so that modinfo reports pci device id aliases.

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



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller April 17, 2009, 12:58 a.m. UTC | #1
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 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,