summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/fec_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_main.c')
-rw-r--r--drivers/net/ethernet/freescale/fec_main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 3dca494797bd..9856156dd31b 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -1960,6 +1960,8 @@ static int fec_enet_mii_init(struct platform_device *pdev)
struct device_node *node;
int err = -ENXIO, i;
+/* It is also possible to have PHY's attached independently instead of attaching them to the single mdio bus */
+#if 0
/*
* The dual fec interfaces are not equivalent with enet-mac.
* Here are the differences:
@@ -1986,6 +1988,7 @@ static int fec_enet_mii_init(struct platform_device *pdev)
return -ENOENT;
}
+#endif
fep->mii_timeout = 0;
/*
@@ -2038,10 +2041,11 @@ static int fec_enet_mii_init(struct platform_device *pdev)
mii_cnt++;
+#if 0
/* save fec0 mii_bus */
if (id_entry->driver_data & FEC_QUIRK_ENET_MAC)
fec0_mii_bus = fep->mii_bus;
-
+#endif
return 0;
err_out_free_mdio_irq: