projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f7ca59
)
phy/micrel: Add module device ID table for autoloading.
author
David S. Miller
<davem@davemloft.net>
Mon, 3 May 2010 22:48:29 +0000
(15:48 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 3 May 2010 22:48:29 +0000
(15:48 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/phy/micrel.c
b/drivers/net/phy/micrel.c
index 0cd80e4d71d9fba60d73f71cb797cd615c98273b..68dd107bad2427deff176df4746b92bcce8a389b 100644
(file)
--- 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);