diff options
author | David Woodhouse <dwmw2@infradead.org> | 2010-04-02 03:05:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-02 23:30:40 +0200 |
commit | 4e4f10f6498bc5038c0a110b5f21682fcb5578d7 (patch) | |
tree | 2f7e91e9a35fd1e6ac63b55e3c08bdb1c701268d /drivers/net/phy/vitesse.c | |
parent | phylib: Support phy module autoloading (diff) | |
download | linux-4e4f10f6498bc5038c0a110b5f21682fcb5578d7.tar.xz linux-4e4f10f6498bc5038c0a110b5f21682fcb5578d7.zip |
phylib: Add module table to all existing phy drivers
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/vitesse.c')
-rw-r--r-- | drivers/net/phy/vitesse.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c index dd3b2447e85a..45cce50a2799 100644 --- a/drivers/net/phy/vitesse.c +++ b/drivers/net/phy/vitesse.c @@ -191,3 +191,11 @@ static void __exit vsc82xx_exit(void) module_init(vsc82xx_init); module_exit(vsc82xx_exit); + +static struct mdio_device_id vitesse_tbl[] = { + { PHY_ID_VSC8244, 0x000fffc0 }, + { PHY_ID_VSC8221, 0x000ffff0 }, + { } +}; + +MODULE_DEVICE_TABLE(mdio, vitesse_tbl); |