From: David S. Miller Date: Mon, 3 May 2010 22:48:29 +0000 (-0700) Subject: phy/micrel: Add module device ID table for autoloading. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52a60ed2da716105de5f906a3630c475264b87d5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git phy/micrel: Add module device ID table for autoloading. Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 0cd80e4d71d9..68dd107bad24 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);