summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/marvell.c
diff options
context:
space:
mode:
authorDavid Woodhouse2010-04-02 03:05:56 +0200
committerDavid S. Miller2010-04-02 23:30:40 +0200
commit4e4f10f6498bc5038c0a110b5f21682fcb5578d7 (patch)
tree2f7e91e9a35fd1e6ac63b55e3c08bdb1c701268d /drivers/net/phy/marvell.c
parentphylib: Support phy module autoloading (diff)
downloadkernel-qcow2-linux-4e4f10f6498bc5038c0a110b5f21682fcb5578d7.tar.gz
kernel-qcow2-linux-4e4f10f6498bc5038c0a110b5f21682fcb5578d7.tar.xz
kernel-qcow2-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/marvell.c')
-rw-r--r--drivers/net/phy/marvell.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c
index 65ed385c2ceb..c7e5b9f12861 100644
--- a/drivers/net/phy/marvell.c
+++ b/drivers/net/phy/marvell.c
@@ -649,3 +649,16 @@ static void __exit marvell_exit(void)
module_init(marvell_init);
module_exit(marvell_exit);
+
+static struct mdio_device_id marvell_tbl[] = {
+ { 0x01410c60, 0xfffffff0 },
+ { 0x01410c90, 0xfffffff0 },
+ { 0x01410cc0, 0xfffffff0 },
+ { 0x01410e10, 0xfffffff0 },
+ { 0x01410cb0, 0xfffffff0 },
+ { 0x01410cd0, 0xfffffff0 },
+ { 0x01410e30, 0xfffffff0 },
+ { }
+};
+
+MODULE_DEVICE_TABLE(mdio, marvell_tbl);