summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-05-03 15:48:29 -0700
committerDavid S. Miller <davem@davemloft.net>2010-05-03 15:48:29 -0700
commit52a60ed2da716105de5f906a3630c475264b87d5 (patch)
tree36d1b3c476780501173ac14be4c9536d64c65d31
parent0f7ca5917e989c4f77db3e97f92badaf3266d4dc (diff)
downloadop-kernel-dev-52a60ed2da716105de5f906a3630c475264b87d5.zip
op-kernel-dev-52a60ed2da716105de5f906a3630c475264b87d5.tar.gz
phy/micrel: Add module device ID table for autoloading.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/phy/micrel.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c
index 0cd80e4..68dd107 100644
--- a/drivers/net/phy/micrel.c
+++ b/drivers/net/phy/micrel.c
@@ -102,3 +102,12 @@ module_exit(ksphy_exit);
MODULE_DESCRIPTION("Micrel PHY driver");
MODULE_AUTHOR("David J. Choi");
MODULE_LICENSE("GPL");
+
+static struct mdio_device_id micrel_tbl[] = {
+ { PHY_ID_KSZ9021, 0x000fff10 },
+ { PHY_ID_VSC8201, 0x00fffff0 },
+ { PHY_ID_KS8001, 0x00fffff0 },
+ { }
+};
+
+MODULE_DEVICE_TABLE(mdio, micrel_tbl);
OpenPOWER on IntegriCloud