From: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> At leasr am335x, the delay is not enough to reliably detect all PHYs. Hence, increase the timeout. Tested with the followings PHYs: - MotorComm YT8511 - Atheros AT8035 - CPlus IP101A Signed-off-by: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> --- drivers/net/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index 0449240f98..fdf6ff1e8e 100644 --- a/drivers/net/cpsw.c +++ b/drivers/net/cpsw.c @@ -620,7 +620,7 @@ static int cpsw_mdio_probe(struct device *dev) * silicon. Since the effect of (b) was found to be largely * negligible, we keep things simple here. */ - udelay(1000); + udelay(2000); start = get_time_ns(); while (1) { -- 2.34.1