From mboxrd@z Thu Jan 1 00:00:00 1970 From: JerryVanBaren Date: Wed, 10 Sep 2008 07:36:24 -0400 Subject: [U-Boot] LAN Timeout In-Reply-To: <48C78C37.9090707@denx.de> References: <48B3DE7B.187F.00BC.0@feig.de> <48C788B2.187F.00BC.0@feig.de> <48C78C37.9090707@denx.de> Message-ID: <48C7B138.7040003@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Anatolij Gustschin wrote: > Hello, > > Manuel Sahm wrote: > >> does anybody have an idea to fix this problem ? >> >> Which paramter is for the "lan connection timeout" ? > > Try to decrease CFG_MACB_AUTONEG_TIMEOUT in drivers/net/macb.c > to 500000 or so. It is currently 5000000 which results in > 5 sec. timeout in macb_phy_init() and also in macb_phy_reset(). > > Best regards, > Anatolij Caution: don't reduce it to less than 2 seconds. The minimum PHY autonegotiation time is 2 seconds per definition by the standard: if you read the standard and add all the delays together, the sum is 2 seconds. I've never seen a PHY take noticeably longer than 2 seconds for autonegotiation, but there is a world of PHYs out there that I've never tried. Best regards, gvb