提交 52a60ed2 编写于 作者: D David S. Miller

phy/micrel: Add module device ID table for autoloading.

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 0f7ca591
...@@ -102,3 +102,12 @@ module_exit(ksphy_exit); ...@@ -102,3 +102,12 @@ module_exit(ksphy_exit);
MODULE_DESCRIPTION("Micrel PHY driver"); MODULE_DESCRIPTION("Micrel PHY driver");
MODULE_AUTHOR("David J. Choi"); MODULE_AUTHOR("David J. Choi");
MODULE_LICENSE("GPL"); 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);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册