From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 04 Feb 2009 15:49:16 -0600 Subject: [U-Boot] [PATCH] tsec: Wait for auto-negotiation to complete without link In-Reply-To: <2acbd3e40902041320l3bce93c1p989c4c33ca8e7ae@mail.gmail.com> References: <1233782045-488-1-git-send-email-ptyser@xes-inc.com> <2acbd3e40902041320l3bce93c1p989c4c33ca8e7ae@mail.gmail.com> Message-ID: <498A0D5C.5060901@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Andy Fleming wrote: > Hmmm....I made that change for a reason. Waiting for autonegotiation > to finish on a tsec with no link was quite tiresome. If you've hooked > up the 4th tsec, and try to boot, you end up waiting for *three* tsecs > to timeout. If dhcp fails because the link isn't up you can always > try again, or add a delay before dhcp starts so that the link is up. > > I'm open to other suggestions, but I really don't want to go back to > the old behavior. Is there any way that you could do the auto-negotiation in parallel? Better yet if you could send bootp/dhcp requests to each one as it comes up, and abort the process upon the first valid bootp/dhcp reply. -Scott