diff options
Diffstat (limited to 'drivers/net/phy')
| -rw-r--r-- | drivers/net/phy/bcm63xx.c | 8 | ||||
| -rw-r--r-- | drivers/net/phy/broadcom.c | 16 | ||||
| -rw-r--r-- | drivers/net/phy/cicada.c | 9 | ||||
| -rw-r--r-- | drivers/net/phy/davicom.c | 10 | ||||
| -rw-r--r-- | drivers/net/phy/et1011c.c | 8 | ||||
| -rw-r--r-- | drivers/net/phy/fixed.c | 1 | ||||
| -rw-r--r-- | drivers/net/phy/icplus.c | 8 | ||||
| -rw-r--r-- | drivers/net/phy/lxt.c | 9 | ||||
| -rw-r--r-- | drivers/net/phy/marvell.c | 14 | ||||
| -rw-r--r-- | drivers/net/phy/mdio-bitbang.c | 1 | ||||
| -rw-r--r-- | drivers/net/phy/mdio-octeon.c | 1 | ||||
| -rw-r--r-- | drivers/net/phy/national.c | 7 | ||||
| -rw-r--r-- | drivers/net/phy/phy.c | 1 | ||||
| -rw-r--r-- | drivers/net/phy/phy_device.c | 12 | ||||
| -rw-r--r-- | drivers/net/phy/qsemi.c | 8 | ||||
| -rw-r--r-- | drivers/net/phy/realtek.c | 7 | ||||
| -rw-r--r-- | drivers/net/phy/smsc.c | 11 | ||||
| -rw-r--r-- | drivers/net/phy/ste10Xp.c | 8 | ||||
| -rw-r--r-- | drivers/net/phy/vitesse.c | 8 | 
19 files changed, 138 insertions, 9 deletions
| diff --git a/drivers/net/phy/bcm63xx.c b/drivers/net/phy/bcm63xx.c index 4fed95e8350e..c12815679837 100644 --- a/drivers/net/phy/bcm63xx.c +++ b/drivers/net/phy/bcm63xx.c | |||
| @@ -130,3 +130,11 @@ static void __exit bcm63xx_phy_exit(void) | |||
| 130 | 130 | ||
| 131 | module_init(bcm63xx_phy_init); | 131 | module_init(bcm63xx_phy_init); | 
| 132 | module_exit(bcm63xx_phy_exit); | 132 | module_exit(bcm63xx_phy_exit); | 
| 133 | |||
| 134 | static struct mdio_device_id bcm63xx_tbl[] = { | ||
| 135 | { 0x00406000, 0xfffffc00 }, | ||
| 136 | { 0x002bdc00, 0xfffffc00 }, | ||
| 137 | { } | ||
| 138 | }; | ||
| 139 | |||
| 140 | MODULE_DEVICE_TABLE(mdio, bcm63xx_tbl); | ||
| diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index f482fc4f8cf1..cecdbbd549ec 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c | |||
| @@ -908,3 +908,19 @@ static void __exit broadcom_exit(void) | |||
| 908 | 908 | ||
| 909 | module_init(broadcom_init); | 909 | module_init(broadcom_init); | 
| 910 | module_exit(broadcom_exit); | 910 | module_exit(broadcom_exit); | 
| 911 | |||
| 912 | static struct mdio_device_id broadcom_tbl[] = { | ||
| 913 | { 0x00206070, 0xfffffff0 }, | ||
| 914 | { 0x002060e0, 0xfffffff0 }, | ||
| 915 | { 0x002060c0, 0xfffffff0 }, | ||
| 916 | { 0x002060b0, 0xfffffff0 }, | ||
| 917 | { 0x0143bca0, 0xfffffff0 }, | ||
| 918 | { 0x0143bcb0, 0xfffffff0 }, | ||
| 919 | { PHY_ID_BCM50610, 0xfffffff0 }, | ||
| 920 | { PHY_ID_BCM50610M, 0xfffffff0 }, | ||
| 921 | { PHY_ID_BCM57780, 0xfffffff0 }, | ||
| 922 | { PHY_ID_BCMAC131, 0xfffffff0 }, | ||
| 923 | { } | ||
| 924 | }; | ||
| 925 | |||
| 926 | MODULE_DEVICE_TABLE(mdio, broadcom_tbl); | ||
| diff --git a/drivers/net/phy/cicada.c b/drivers/net/phy/cicada.c index a1bd599c8a5b..1a325d63756b 100644 --- a/drivers/net/phy/cicada.c +++ b/drivers/net/phy/cicada.c | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #include <linux/string.h> | 17 | #include <linux/string.h> | 
| 18 | #include <linux/errno.h> | 18 | #include <linux/errno.h> | 
| 19 | #include <linux/unistd.h> | 19 | #include <linux/unistd.h> | 
| 20 | #include <linux/slab.h> | ||
| 21 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> | 
| 22 | #include <linux/init.h> | 21 | #include <linux/init.h> | 
| 23 | #include <linux/delay.h> | 22 | #include <linux/delay.h> | 
| @@ -159,3 +158,11 @@ static void __exit cicada_exit(void) | |||
| 159 | 158 | ||
| 160 | module_init(cicada_init); | 159 | module_init(cicada_init); | 
| 161 | module_exit(cicada_exit); | 160 | module_exit(cicada_exit); | 
| 161 | |||
| 162 | static struct mdio_device_id cicada_tbl[] = { | ||
| 163 | { 0x000fc410, 0x000ffff0 }, | ||
| 164 | { 0x000fc440, 0x000fffc0 }, | ||
| 165 | { } | ||
| 166 | }; | ||
| 167 | |||
| 168 | MODULE_DEVICE_TABLE(mdio, cicada_tbl); | ||
| diff --git a/drivers/net/phy/davicom.c b/drivers/net/phy/davicom.c index d926168bc780..29c17617a2ec 100644 --- a/drivers/net/phy/davicom.c +++ b/drivers/net/phy/davicom.c | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #include <linux/string.h> | 17 | #include <linux/string.h> | 
| 18 | #include <linux/errno.h> | 18 | #include <linux/errno.h> | 
| 19 | #include <linux/unistd.h> | 19 | #include <linux/unistd.h> | 
| 20 | #include <linux/slab.h> | ||
| 21 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> | 
| 22 | #include <linux/init.h> | 21 | #include <linux/init.h> | 
| 23 | #include <linux/delay.h> | 22 | #include <linux/delay.h> | 
| @@ -219,3 +218,12 @@ static void __exit davicom_exit(void) | |||
| 219 | 218 | ||
| 220 | module_init(davicom_init); | 219 | module_init(davicom_init); | 
| 221 | module_exit(davicom_exit); | 220 | module_exit(davicom_exit); | 
| 221 | |||
| 222 | static struct mdio_device_id davicom_tbl[] = { | ||
| 223 | { 0x0181b880, 0x0ffffff0 }, | ||
| 224 | { 0x0181b8a0, 0x0ffffff0 }, | ||
| 225 | { 0x00181b80, 0x0ffffff0 }, | ||
| 226 | { } | ||
| 227 | }; | ||
| 228 | |||
| 229 | MODULE_DEVICE_TABLE(mdio, davicom_tbl); | ||
| diff --git a/drivers/net/phy/et1011c.c b/drivers/net/phy/et1011c.c index b031fa21f1aa..13995f52d6af 100644 --- a/drivers/net/phy/et1011c.c +++ b/drivers/net/phy/et1011c.c | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #include <linux/string.h> | 17 | #include <linux/string.h> | 
| 18 | #include <linux/errno.h> | 18 | #include <linux/errno.h> | 
| 19 | #include <linux/unistd.h> | 19 | #include <linux/unistd.h> | 
| 20 | #include <linux/slab.h> | ||
| 21 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> | 
| 22 | #include <linux/init.h> | 21 | #include <linux/init.h> | 
| 23 | #include <linux/delay.h> | 22 | #include <linux/delay.h> | 
| @@ -111,3 +110,10 @@ static void __exit et1011c_exit(void) | |||
| 111 | 110 | ||
| 112 | module_init(et1011c_init); | 111 | module_init(et1011c_init); | 
| 113 | module_exit(et1011c_exit); | 112 | module_exit(et1011c_exit); | 
| 113 | |||
| 114 | static struct mdio_device_id et1011c_tbl[] = { | ||
| 115 | { 0x0282f014, 0xfffffff0 }, | ||
| 116 | { } | ||
| 117 | }; | ||
| 118 | |||
| 119 | MODULE_DEVICE_TABLE(mdio, et1011c_tbl); | ||
| diff --git a/drivers/net/phy/fixed.c b/drivers/net/phy/fixed.c index e7070515d2e3..1fa4d73c3cca 100644 --- a/drivers/net/phy/fixed.c +++ b/drivers/net/phy/fixed.c | |||
| @@ -20,6 +20,7 @@ | |||
| 20 | #include <linux/phy.h> | 20 | #include <linux/phy.h> | 
| 21 | #include <linux/phy_fixed.h> | 21 | #include <linux/phy_fixed.h> | 
| 22 | #include <linux/err.h> | 22 | #include <linux/err.h> | 
| 23 | #include <linux/slab.h> | ||
| 23 | 24 | ||
| 24 | #define MII_REGS_NUM 29 | 25 | #define MII_REGS_NUM 29 | 
| 25 | 26 | ||
| diff --git a/drivers/net/phy/icplus.c b/drivers/net/phy/icplus.c index af3f1f2a9f87..439adafeacb1 100644 --- a/drivers/net/phy/icplus.c +++ b/drivers/net/phy/icplus.c | |||
| @@ -13,7 +13,6 @@ | |||
| 13 | #include <linux/string.h> | 13 | #include <linux/string.h> | 
| 14 | #include <linux/errno.h> | 14 | #include <linux/errno.h> | 
| 15 | #include <linux/unistd.h> | 15 | #include <linux/unistd.h> | 
| 16 | #include <linux/slab.h> | ||
| 17 | #include <linux/interrupt.h> | 16 | #include <linux/interrupt.h> | 
| 18 | #include <linux/init.h> | 17 | #include <linux/init.h> | 
| 19 | #include <linux/delay.h> | 18 | #include <linux/delay.h> | 
| @@ -132,3 +131,10 @@ static void __exit ip175c_exit(void) | |||
| 132 | 131 | ||
| 133 | module_init(ip175c_init); | 132 | module_init(ip175c_init); | 
| 134 | module_exit(ip175c_exit); | 133 | module_exit(ip175c_exit); | 
| 134 | |||
| 135 | static struct mdio_device_id icplus_tbl[] = { | ||
| 136 | { 0x02430d80, 0x0ffffff0 }, | ||
| 137 | { } | ||
| 138 | }; | ||
| 139 | |||
| 140 | MODULE_DEVICE_TABLE(mdio, icplus_tbl); | ||
| diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c index 4cf3324ba166..8ee929b796d8 100644 --- a/drivers/net/phy/lxt.c +++ b/drivers/net/phy/lxt.c | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #include <linux/string.h> | 17 | #include <linux/string.h> | 
| 18 | #include <linux/errno.h> | 18 | #include <linux/errno.h> | 
| 19 | #include <linux/unistd.h> | 19 | #include <linux/unistd.h> | 
| 20 | #include <linux/slab.h> | ||
| 21 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> | 
| 22 | #include <linux/init.h> | 21 | #include <linux/init.h> | 
| 23 | #include <linux/delay.h> | 22 | #include <linux/delay.h> | 
| @@ -174,3 +173,11 @@ static void __exit lxt_exit(void) | |||
| 174 | 173 | ||
| 175 | module_init(lxt_init); | 174 | module_init(lxt_init); | 
| 176 | module_exit(lxt_exit); | 175 | module_exit(lxt_exit); | 
| 176 | |||
| 177 | static struct mdio_device_id lxt_tbl[] = { | ||
| 178 | { 0x78100000, 0xfffffff0 }, | ||
| 179 | { 0x001378e0, 0xfffffff0 }, | ||
| 180 | { } | ||
| 181 | }; | ||
| 182 | |||
| 183 | MODULE_DEVICE_TABLE(mdio, lxt_tbl); | ||
| diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 65ed385c2ceb..78b74e83ce5d 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #include <linux/string.h> | 17 | #include <linux/string.h> | 
| 18 | #include <linux/errno.h> | 18 | #include <linux/errno.h> | 
| 19 | #include <linux/unistd.h> | 19 | #include <linux/unistd.h> | 
| 20 | #include <linux/slab.h> | ||
| 21 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> | 
| 22 | #include <linux/init.h> | 21 | #include <linux/init.h> | 
| 23 | #include <linux/delay.h> | 22 | #include <linux/delay.h> | 
| @@ -649,3 +648,16 @@ static void __exit marvell_exit(void) | |||
| 649 | 648 | ||
| 650 | module_init(marvell_init); | 649 | module_init(marvell_init); | 
| 651 | module_exit(marvell_exit); | 650 | module_exit(marvell_exit); | 
| 651 | |||
| 652 | static struct mdio_device_id marvell_tbl[] = { | ||
| 653 | { 0x01410c60, 0xfffffff0 }, | ||
| 654 | { 0x01410c90, 0xfffffff0 }, | ||
| 655 | { 0x01410cc0, 0xfffffff0 }, | ||
| 656 | { 0x01410e10, 0xfffffff0 }, | ||
| 657 | { 0x01410cb0, 0xfffffff0 }, | ||
| 658 | { 0x01410cd0, 0xfffffff0 }, | ||
| 659 | { 0x01410e30, 0xfffffff0 }, | ||
| 660 | { } | ||
| 661 | }; | ||
| 662 | |||
| 663 | MODULE_DEVICE_TABLE(mdio, marvell_tbl); | ||
| diff --git a/drivers/net/phy/mdio-bitbang.c b/drivers/net/phy/mdio-bitbang.c index 0ff06617a4ab..65391891d8c4 100644 --- a/drivers/net/phy/mdio-bitbang.c +++ b/drivers/net/phy/mdio-bitbang.c | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | 19 | ||
| 20 | #include <linux/module.h> | 20 | #include <linux/module.h> | 
| 21 | #include <linux/mdio-bitbang.h> | 21 | #include <linux/mdio-bitbang.h> | 
| 22 | #include <linux/slab.h> | ||
| 23 | #include <linux/types.h> | 22 | #include <linux/types.h> | 
| 24 | #include <linux/delay.h> | 23 | #include <linux/delay.h> | 
| 25 | 24 | ||
| diff --git a/drivers/net/phy/mdio-octeon.c b/drivers/net/phy/mdio-octeon.c index 61a4461cbda5..a872aea4ed74 100644 --- a/drivers/net/phy/mdio-octeon.c +++ b/drivers/net/phy/mdio-octeon.c | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | * Copyright (C) 2009 Cavium Networks | 6 | * Copyright (C) 2009 Cavium Networks | 
| 7 | */ | 7 | */ | 
| 8 | 8 | ||
| 9 | #include <linux/gfp.h> | ||
| 9 | #include <linux/init.h> | 10 | #include <linux/init.h> | 
| 10 | #include <linux/module.h> | 11 | #include <linux/module.h> | 
| 11 | #include <linux/platform_device.h> | 12 | #include <linux/platform_device.h> | 
| diff --git a/drivers/net/phy/national.c b/drivers/net/phy/national.c index 6c636eb72089..729ab29ba28c 100644 --- a/drivers/net/phy/national.c +++ b/drivers/net/phy/national.c | |||
| @@ -153,3 +153,10 @@ MODULE_LICENSE("GPL"); | |||
| 153 | 153 | ||
| 154 | module_init(ns_init); | 154 | module_init(ns_init); | 
| 155 | module_exit(ns_exit); | 155 | module_exit(ns_exit); | 
| 156 | |||
| 157 | static struct mdio_device_id ns_tbl[] = { | ||
| 158 | { DP83865_PHY_ID, 0xfffffff0 }, | ||
| 159 | { } | ||
| 160 | }; | ||
| 161 | |||
| 162 | MODULE_DEVICE_TABLE(mdio, ns_tbl); | ||
| diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 0295097d6c44..64be4664ccab 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | #include <linux/string.h> | 19 | #include <linux/string.h> | 
| 20 | #include <linux/errno.h> | 20 | #include <linux/errno.h> | 
| 21 | #include <linux/unistd.h> | 21 | #include <linux/unistd.h> | 
| 22 | #include <linux/slab.h> | ||
| 23 | #include <linux/interrupt.h> | 22 | #include <linux/interrupt.h> | 
| 24 | #include <linux/init.h> | 23 | #include <linux/init.h> | 
| 25 | #include <linux/delay.h> | 24 | #include <linux/delay.h> | 
| diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index db1794546c56..1a99bb244106 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c | |||
| @@ -149,6 +149,7 @@ EXPORT_SYMBOL(phy_scan_fixups); | |||
| 149 | struct phy_device* phy_device_create(struct mii_bus *bus, int addr, int phy_id) | 149 | struct phy_device* phy_device_create(struct mii_bus *bus, int addr, int phy_id) | 
| 150 | { | 150 | { | 
| 151 | struct phy_device *dev; | 151 | struct phy_device *dev; | 
| 152 | |||
| 152 | /* We allocate the device, and initialize the | 153 | /* We allocate the device, and initialize the | 
| 153 | * default values */ | 154 | * default values */ | 
| 154 | dev = kzalloc(sizeof(*dev), GFP_KERNEL); | 155 | dev = kzalloc(sizeof(*dev), GFP_KERNEL); | 
| @@ -179,6 +180,17 @@ struct phy_device* phy_device_create(struct mii_bus *bus, int addr, int phy_id) | |||
| 179 | mutex_init(&dev->lock); | 180 | mutex_init(&dev->lock); | 
| 180 | INIT_DELAYED_WORK(&dev->state_queue, phy_state_machine); | 181 | INIT_DELAYED_WORK(&dev->state_queue, phy_state_machine); | 
| 181 | 182 | ||
| 183 | /* Request the appropriate module unconditionally; don't | ||
| 184 | bother trying to do so only if it isn't already loaded, | ||
| 185 | because that gets complicated. A hotplug event would have | ||
| 186 | done an unconditional modprobe anyway. | ||
| 187 | We don't do normal hotplug because it won't work for MDIO | ||
| 188 | -- because it relies on the device staying around for long | ||
| 189 | enough for the driver to get loaded. With MDIO, the NIC | ||
| 190 | driver will get bored and give up as soon as it finds that | ||
| 191 | there's no driver _already_ loaded. */ | ||
| 192 | request_module(MDIO_MODULE_PREFIX MDIO_ID_FMT, MDIO_ID_ARGS(phy_id)); | ||
| 193 | |||
| 182 | return dev; | 194 | return dev; | 
| 183 | } | 195 | } | 
| 184 | EXPORT_SYMBOL(phy_device_create); | 196 | EXPORT_SYMBOL(phy_device_create); | 
| diff --git a/drivers/net/phy/qsemi.c b/drivers/net/phy/qsemi.c index 23062d067231..6736b23f1b28 100644 --- a/drivers/net/phy/qsemi.c +++ b/drivers/net/phy/qsemi.c | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | #include <linux/string.h> | 17 | #include <linux/string.h> | 
| 18 | #include <linux/errno.h> | 18 | #include <linux/errno.h> | 
| 19 | #include <linux/unistd.h> | 19 | #include <linux/unistd.h> | 
| 20 | #include <linux/slab.h> | ||
| 21 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> | 
| 22 | #include <linux/init.h> | 21 | #include <linux/init.h> | 
| 23 | #include <linux/delay.h> | 22 | #include <linux/delay.h> | 
| @@ -138,3 +137,10 @@ static void __exit qs6612_exit(void) | |||
| 138 | 137 | ||
| 139 | module_init(qs6612_init); | 138 | module_init(qs6612_init); | 
| 140 | module_exit(qs6612_exit); | 139 | module_exit(qs6612_exit); | 
| 140 | |||
| 141 | static struct mdio_device_id qs6612_tbl[] = { | ||
| 142 | { 0x00181440, 0xfffffff0 }, | ||
| 143 | { } | ||
| 144 | }; | ||
| 145 | |||
| 146 | MODULE_DEVICE_TABLE(mdio, qs6612_tbl); | ||
| diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index a052a6744a51..f567c0e1aaa1 100644 --- a/drivers/net/phy/realtek.c +++ b/drivers/net/phy/realtek.c | |||
| @@ -78,3 +78,10 @@ static void __exit realtek_exit(void) | |||
| 78 | 78 | ||
| 79 | module_init(realtek_init); | 79 | module_init(realtek_init); | 
| 80 | module_exit(realtek_exit); | 80 | module_exit(realtek_exit); | 
| 81 | |||
| 82 | static struct mdio_device_id realtek_tbl[] = { | ||
| 83 | { 0x001cc912, 0x001fffff }, | ||
| 84 | { } | ||
| 85 | }; | ||
| 86 | |||
| 87 | MODULE_DEVICE_TABLE(mdio, realtek_tbl); | ||
| diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index ed2644a57500..78fa988256fc 100644 --- a/drivers/net/phy/smsc.c +++ b/drivers/net/phy/smsc.c | |||
| @@ -253,3 +253,14 @@ MODULE_LICENSE("GPL"); | |||
| 253 | 253 | ||
| 254 | module_init(smsc_init); | 254 | module_init(smsc_init); | 
| 255 | module_exit(smsc_exit); | 255 | module_exit(smsc_exit); | 
| 256 | |||
| 257 | static struct mdio_device_id smsc_tbl[] = { | ||
| 258 | { 0x0007c0a0, 0xfffffff0 }, | ||
| 259 | { 0x0007c0b0, 0xfffffff0 }, | ||
| 260 | { 0x0007c0c0, 0xfffffff0 }, | ||
| 261 | { 0x0007c0d0, 0xfffffff0 }, | ||
| 262 | { 0x0007c0f0, 0xfffffff0 }, | ||
| 263 | { } | ||
| 264 | }; | ||
| 265 | |||
| 266 | MODULE_DEVICE_TABLE(mdio, smsc_tbl); | ||
| 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) | |||
| 132 | module_init(ste10Xp_init); | 132 | module_init(ste10Xp_init); | 
| 133 | module_exit(ste10Xp_exit); | 133 | module_exit(ste10Xp_exit); | 
| 134 | 134 | ||
| 135 | static struct mdio_device_id ste10Xp_tbl[] = { | ||
| 136 | { STE101P_PHY_ID, 0xfffffff0 }, | ||
| 137 | { STE100P_PHY_ID, 0xffffffff }, | ||
| 138 | { } | ||
| 139 | }; | ||
| 140 | |||
| 141 | MODULE_DEVICE_TABLE(mdio, ste10Xp_tbl); | ||
| 142 | |||
| 135 | MODULE_DESCRIPTION("STMicroelectronics STe10Xp PHY driver"); | 143 | MODULE_DESCRIPTION("STMicroelectronics STe10Xp PHY driver"); | 
| 136 | MODULE_AUTHOR("Giuseppe Cavallaro <peppe.cavallaro@st.com>"); | 144 | MODULE_AUTHOR("Giuseppe Cavallaro <peppe.cavallaro@st.com>"); | 
| 137 | MODULE_LICENSE("GPL"); | 145 | MODULE_LICENSE("GPL"); | 
| 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) | |||
| 191 | 191 | ||
| 192 | module_init(vsc82xx_init); | 192 | module_init(vsc82xx_init); | 
| 193 | module_exit(vsc82xx_exit); | 193 | module_exit(vsc82xx_exit); | 
| 194 | |||
| 195 | static struct mdio_device_id vitesse_tbl[] = { | ||
| 196 | { PHY_ID_VSC8244, 0x000fffc0 }, | ||
| 197 | { PHY_ID_VSC8221, 0x000ffff0 }, | ||
| 198 | { } | ||
| 199 | }; | ||
| 200 | |||
| 201 | MODULE_DEVICE_TABLE(mdio, vitesse_tbl); | ||
