MPC512x: reduce timeout waiting for Ethernet autonegotiation to 2.5s
authorWolfgang Denk <wd@denx.de>
Fri, 12 Sep 2008 11:52:21 +0000 (13:52 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Sep 2008 11:52:21 +0000 (13:52 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
drivers/net/mpc512x_fec.c

index 54283fb9d0af8bf808aff0ca153e4fe6c5a6a9f2..7078c4ef77ce4e2818ac2dee72ee0d5ebe72b76e 100644 (file)
@@ -364,7 +364,7 @@ int mpc512x_fec_init_phy (struct eth_device *dev, bd_t * bis)
                        /*
                         * Wait for AN completion
                         */
-                       timeout = 50000;
+                       timeout = 2500;
                        do {
                                udelay (1000);