mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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 <sr@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Simon Glass <sjg@chromium.org>
This commit is contained in:

committed by
Joe Hershberger

parent
7628afebe9
commit
faa765d407
@ -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.
|
||||
|
Reference in New Issue
Block a user