diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-13 14:33:12 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-13 14:33:12 -0400 |
commit | c233289c29369dba7177ca873e9b8ed457af2a78 (patch) | |
tree | 7dc73aa736c2a1164c887f203eff2b533220d11a /drivers/net/phy | |
parent | 7282d491ecaee9883233a0e27283c4c79486279a (diff) |
drivers/net/phy/fixed: #if 0 some incomplete code
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/fixed.c | 4 |
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 | ||
314 | static int __init fixed_init(void) | 314 | static 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); |