diff options
author | Brice Goglin <brice@myri.com> | 2009-04-15 22:29:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-16 21:00:44 -0400 |
commit | 97131079183cd671e18e661f1a387cdb5dffd313 (patch) | |
tree | f2b113d31113c4371c5f443162274c5c54ab5951 /drivers/net/myri10ge | |
parent | 2d90b0aa3bc484189940444bcddcbe0ebbb53af5 (diff) |
myri10ge: add MODULE_DEVICE_TABLE
Add MODULE_DEVICE_TABLE so that modinfo reports pci device id aliases.
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/myri10ge')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index 77de964fe676..4a2ab4ebfb82 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -75,7 +75,7 @@ | |||
75 | #include "myri10ge_mcp.h" | 75 | #include "myri10ge_mcp.h" |
76 | #include "myri10ge_mcp_gen_header.h" | 76 | #include "myri10ge_mcp_gen_header.h" |
77 | 77 | ||
78 | #define MYRI10GE_VERSION_STR "1.4.4-1.401" | 78 | #define MYRI10GE_VERSION_STR "1.4.4-1.412" |
79 | 79 | ||
80 | MODULE_DESCRIPTION("Myricom 10G driver (10GbE)"); | 80 | MODULE_DESCRIPTION("Myricom 10G driver (10GbE)"); |
81 | MODULE_AUTHOR("Maintainer: help@myri.com"); | 81 | MODULE_AUTHOR("Maintainer: help@myri.com"); |
@@ -4036,6 +4036,8 @@ static struct pci_device_id myri10ge_pci_tbl[] = { | |||
4036 | {0}, | 4036 | {0}, |
4037 | }; | 4037 | }; |
4038 | 4038 | ||
4039 | MODULE_DEVICE_TABLE(pci, myri10ge_pci_tbl); | ||
4040 | |||
4039 | static struct pci_driver myri10ge_driver = { | 4041 | static struct pci_driver myri10ge_driver = { |
4040 | .name = "myri10ge", | 4042 | .name = "myri10ge", |
4041 | .probe = myri10ge_probe, | 4043 | .probe = myri10ge_probe, |