Skip to content

Commit

Permalink
myri10ge: add MODULE_DEVICE_TABLE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Brice Goglin authored and David S. Miller committed Apr 17, 2009
1 parent 2d90b0a commit 9713107
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/net/myri10ge/myri10ge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -4036,6 +4036,8 @@ static struct pci_device_id myri10ge_pci_tbl[] = {
{0},
};

MODULE_DEVICE_TABLE(pci, myri10ge_pci_tbl);

static struct pci_driver myri10ge_driver = {
.name = "myri10ge",
.probe = myri10ge_probe,
Expand Down

0 comments on commit 9713107

Please sign in to comment.