Commit 97131079 authored by Brice Goglin's avatar Brice Goglin Committed by David S. Miller
Browse files

myri10ge: add MODULE_DEVICE_TABLE



Add MODULE_DEVICE_TABLE so that modinfo reports pci device id aliases.
Signed-off-by: default avatarBrice Goglin <brice@myri.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2d90b0aa
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
#include "myri10ge_mcp.h" #include "myri10ge_mcp.h"
#include "myri10ge_mcp_gen_header.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_DESCRIPTION("Myricom 10G driver (10GbE)");
MODULE_AUTHOR("Maintainer: help@myri.com"); MODULE_AUTHOR("Maintainer: help@myri.com");
...@@ -4036,6 +4036,8 @@ static struct pci_device_id myri10ge_pci_tbl[] = { ...@@ -4036,6 +4036,8 @@ static struct pci_device_id myri10ge_pci_tbl[] = {
{0}, {0},
}; };
MODULE_DEVICE_TABLE(pci, myri10ge_pci_tbl);
static struct pci_driver myri10ge_driver = { static struct pci_driver myri10ge_driver = {
.name = "myri10ge", .name = "myri10ge",
.probe = myri10ge_probe, .probe = myri10ge_probe,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment