]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
ppc4xx: Change autonegotiation timeout from 4 to 5 seconds
authorStefan Roese <sr@denx.de>
Tue, 23 Oct 2007 12:05:08 +0000 (14:05 +0200)
committerStefan Roese <sr@denx.de>
Wed, 31 Oct 2007 20:21:46 +0000 (21:21 +0100)
I lately noticed, that newer 4xx board with GBit support sometimes don't
finish link autonegotiation in 4 seconds. Changing this timeout to 5
seconds seems fine here.

Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/4xx_enet.c

index 6ab04e73d5ab574f426e0fbffb37b1e512b302b1..697e038d5eb43767febff9e1d05f8051e137391a 100644 (file)
 #endif
 
 #define EMAC_RESET_TIMEOUT 1000 /* 1000 ms reset timeout */
-#define PHY_AUTONEGOTIATE_TIMEOUT 4000 /* 4000 ms autonegotiate timeout */
+#define PHY_AUTONEGOTIATE_TIMEOUT 5000 /* 5000 ms autonegotiate timeout */
 
 /* Ethernet Transmit and Receive Buffers */
 /* AS.HARNOIS