From faa765d40760d84bff0de26a5a5f605621dbff39 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Tue, 11 Aug 2015 17:12:44 +0200 Subject: net: e1000: Increase autoneg timeout to 8 seconds The current 4.5 timeout for the autonegotiation are not enough to complete it on my platform. Using the Intel E1000 PCIe card in the Marvell db-mv784mp-gp eval board. So lets increase the timeout to 8 seconds. Signed-off-by: Stefan Roese Cc: Joe Hershberger Cc: Simon Glass --- drivers/net/e1000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net/e1000.c') diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index ecd1a52..d5d48b1 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -4017,7 +4017,7 @@ e1000_wait_autoneg(struct e1000_hw *hw) DEBUGFUNC(); DEBUGOUT("Waiting for Auto-Neg to complete.\n"); - /* We will wait for autoneg to complete or 4.5 seconds to expire. */ + /* We will wait for autoneg to complete or timeout to expire. */ for (i = PHY_AUTO_NEG_TIME; i > 0; i--) { /* Read the MII Status Register and wait for Auto-Neg * Complete bit to be set. -- cgit v1.1