aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/bcm63xx.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2010-04-02 01:05:56 +0000
committerDavid S. Miller <davem@davemloft.net>2010-04-02 14:30:40 -0700
commit4e4f10f6498bc5038c0a110b5f21682fcb5578d7 (patch)
tree2f7e91e9a35fd1e6ac63b55e3c08bdb1c701268d /drivers/net/phy/bcm63xx.c
parentphylib: Support phy module autoloading (diff)
downloadlinux-dev-4e4f10f6498bc5038c0a110b5f21682fcb5578d7.tar.xz
linux-dev-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 '')
-rw-r--r--drivers/net/phy/bcm63xx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/phy/bcm63xx.c b/drivers/net/phy/bcm63xx.c
index 4fed95e8350e..ac5e49861dbd 100644
--- a/drivers/net/phy/bcm63xx.c
+++ b/drivers/net/phy/bcm63xx.c
@@ -130,3 +130,11 @@ static void __exit bcm63xx_phy_exit(void)
module_init(bcm63xx_phy_init);
module_exit(bcm63xx_phy_exit);
+
+static struct mdio_device_id bcm63xx_tbl[] = {
+ { 0x00406000, 0xfffffc00 },
+ { 0x002bdc00, 0xfffffc00 },
+ { }
+};
+
+MODULE_DEVICE_TABLE(mdio, bcm64xx_tbl);