summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSriram <srk@ti.com>2009-09-04 18:10:49 +0530
committerJustin Waters <justin.waters@timesys.com>2009-10-21 16:46:35 -0400
commit5142243a43de84ad9b6bb481ad5430fc4633d5ea (patch)
tree2d79be185bd13b2ad26824da52d77a13a0c73f60
parent7fceae74b4108aa009ce022cd92827f310826628 (diff)
CPMAC driver : Increase Auto negotiation timeout interval.
Increase the auto-negotiation timeout interval. The driver looks for the link status at the end of this timeout interval. For better inter-op increase the timeout to a more conservative number.
-rw-r--r--drivers/net/ticpgmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ticpgmac.c b/drivers/net/ticpgmac.c
index 0efd5ed75e9..94bd8f90044 100644
--- a/drivers/net/ticpgmac.c
+++ b/drivers/net/ticpgmac.c
@@ -332,7 +332,7 @@ static int gen_auto_negotiate(int phy_addr)
do{
udelay(40000);
cntr++;
- }while(cntr < 50 );
+ }while(cntr < 150 );
if (!cpgmac_eth_phy_read(phy_addr, PHY_BMSR, &tmp))
return(0);