drivers/net/phy/fixed: #if 0 some incomplete code
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@ -313,8 +313,10 @@ MODULE_LICENSE("GPL");
|
|||||||
|
|
||||||
static int __init fixed_init(void)
|
static int __init fixed_init(void)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
int ret;
|
int ret;
|
||||||
int duplex = 0;
|
int duplex = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* register on the bus... Not expected to be matched with anything there... */
|
/* register on the bus... Not expected to be matched with anything there... */
|
||||||
phy_driver_register(&fixed_mdio_driver);
|
phy_driver_register(&fixed_mdio_driver);
|
||||||
@ -335,8 +337,10 @@ static int __init fixed_init(void)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_FIXED_MII_DUPLEX
|
#ifdef CONFIG_FIXED_MII_DUPLEX
|
||||||
|
#if 0
|
||||||
duplex = 1;
|
duplex = 1;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_FIXED_MII_100_FDX
|
#ifdef CONFIG_FIXED_MII_100_FDX
|
||||||
fixed_mdio_register_device(0, 100, 1);
|
fixed_mdio_register_device(0, 100, 1);
|
||||||
|
Reference in New Issue
Block a user