summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/lxt.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2010-04-02 03:05:56 +0200
committerDavid S. Miller <davem@davemloft.net>2010-04-02 23:30:40 +0200
commit4e4f10f6498bc5038c0a110b5f21682fcb5578d7 (patch)
tree2f7e91e9a35fd1e6ac63b55e3c08bdb1c701268d /drivers/net/phy/lxt.c
parentphylib: Support phy module autoloading (diff)
downloadlinux-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/lxt.c')
-rw-r--r--drivers/net/phy/lxt.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c
index 4cf3324ba166..1d94f1d610e4 100644
--- a/drivers/net/phy/lxt.c
+++ b/drivers/net/phy/lxt.c
@@ -174,3 +174,11 @@ static void __exit lxt_exit(void)
module_init(lxt_init);
module_exit(lxt_exit);
+
+static struct mdio_device_id lxt_tbl[] = {
+ { 0x78100000, 0xfffffff0 },
+ { 0x001378e0, 0xfffffff0 },
+ { }
+};
+
+MODULE_DEVICE_TABLE(mdio, lxt_tbl);