summaryrefslogtreecommitdiff
path: root/drivers/net/phy/ste10Xp.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/ste10Xp.c
parent8626d3b4328061f5b82b11ae1d6918a0c3602f42 (diff)
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/ste10Xp.c')
-rw-r--r--drivers/net/phy/ste10Xp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/phy/ste10Xp.c b/drivers/net/phy/ste10Xp.c
index 6bdb0d53aaf9..72290099e5e1 100644
--- a/drivers/net/phy/ste10Xp.c
+++ b/drivers/net/phy/ste10Xp.c
@@ -132,6 +132,14 @@ static void __exit ste10Xp_exit(void)
module_init(ste10Xp_init);
module_exit(ste10Xp_exit);
+static struct mdio_device_id ste10Xp_tbl[] = {
+ { STE101P_PHY_ID, 0xfffffff0 },
+ { STE100P_PHY_ID, 0xffffffff },
+ { }
+};
+
+MODULE_DEVICE_TABLE(mdio, ste10Xp_tbl);
+
MODULE_DESCRIPTION("STMicroelectronics STe10Xp PHY driver");
MODULE_AUTHOR("Giuseppe Cavallaro <peppe.cavallaro@st.com>");
MODULE_LICENSE("GPL");