aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/fixed.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/fixed.c')
-rw-r--r--drivers/net/phy/fixed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/phy/fixed.c b/drivers/net/phy/fixed.c
index 341036df4710..19f7ee63276f 100644
--- a/drivers/net/phy/fixed.c
+++ b/drivers/net/phy/fixed.c
@@ -313,8 +313,10 @@ MODULE_LICENSE("GPL");
313 313
314static int __init fixed_init(void) 314static int __init fixed_init(void)
315{ 315{
316#if 0
316 int ret; 317 int ret;
317 int duplex = 0; 318 int duplex = 0;
319#endif
318 320
319 /* register on the bus... Not expected to be matched with anything there... */ 321 /* register on the bus... Not expected to be matched with anything there... */
320 phy_driver_register(&fixed_mdio_driver); 322 phy_driver_register(&fixed_mdio_driver);
@@ -335,8 +337,10 @@ static int __init fixed_init(void)
335 */ 337 */
336 338
337#ifdef CONFIG_FIXED_MII_DUPLEX 339#ifdef CONFIG_FIXED_MII_DUPLEX
340#if 0
338 duplex = 1; 341 duplex = 1;
339#endif 342#endif
343#endif
340 344
341#ifdef CONFIG_FIXED_MII_100_FDX 345#ifdef CONFIG_FIXED_MII_100_FDX
342 fixed_mdio_register_device(0, 100, 1); 346 fixed_mdio_register_device(0, 100, 1);