summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-10-23 14:05:08 +0200
committerStefan Roese <sr@denx.de>2007-10-31 21:21:46 +0100
commit1338e6a81834099ba19733b69aafd8ef5f098094 (patch)
tree645853073930581b21623e2d23237c42fcbf54b4
parent2d83476a4c1c9911d158a3f8a4312d354bc1bdb7 (diff)
downloadtalos-obmc-uboot-1338e6a81834099ba19733b69aafd8ef5f098094.tar.gz
talos-obmc-uboot-1338e6a81834099ba19733b69aafd8ef5f098094.zip
ppc4xx: Change autonegotiation timeout from 4 to 5 seconds
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>
-rw-r--r--cpu/ppc4xx/4xx_enet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/4xx_enet.c b/cpu/ppc4xx/4xx_enet.c
index 6ab04e73d5..697e038d5e 100644
--- a/cpu/ppc4xx/4xx_enet.c
+++ b/cpu/ppc4xx/4xx_enet.c
@@ -106,7 +106,7 @@
#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
OpenPOWER on IntegriCloud