mirror of https://gitee.com/openkylin/linux.git
phy/micrel: Add module device ID table for autoloading.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0f7ca5917e
commit
52a60ed2da
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue