aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@freescale.com>2011-11-16 17:12:52 +0800
committerEric Miao <eric.miao@canonical.com>2011-12-05 14:39:19 +0800
commit1cc4f638d93351b006d1b7e0fa99d8253334f8f6 (patch)
treefd87c2b525d63204372fcc631e639eac55ed2170
parentf7bba473bb817341976c11ef3844ea9430f70d53 (diff)
net: fec: fix phy probe issue
If enable of, imx28 two phy workaround prevent other SoC phy probe. Remove it. Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
-rw-r--r--drivers/net/ethernet/freescale/fec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/freescale/fec.c b/drivers/net/ethernet/freescale/fec.c
index 380dc1507a9..9dead08b634 100644
--- a/drivers/net/ethernet/freescale/fec.c
+++ b/drivers/net/ethernet/freescale/fec.c
@@ -953,7 +953,6 @@ static int fec_enet_mii_probe(struct net_device *ndev)
char mdio_bus_id[MII_BUS_ID_SIZE];
char phy_name[MII_BUS_ID_SIZE + 3];
int phy_id;
- int dev_id = fep->pdev->id;
fep->phy_dev = NULL;
@@ -965,8 +964,6 @@ static int fec_enet_mii_probe(struct net_device *ndev)
continue;
if (fep->mii_bus->phy_map[phy_id]->phy_id == 0)
continue;
- if (dev_id--)
- continue;
strncpy(mdio_bus_id, fep->mii_bus->id, MII_BUS_ID_SIZE);
break;
}