public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Tyser <ptyser@xes-inc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] tsec: Wait for auto-negotiation to complete without link
Date: Wed, 04 Feb 2009 15:45:37 -0600	[thread overview]
Message-ID: <1233783937.7067.387.camel@localhost.localdomain> (raw)
In-Reply-To: <20090204212632.07F0D8322908@gemini.denx.de>

On Wed, 2009-02-04 at 22:26 +0100, Wolfgang Denk wrote:
> Dear Andy Fleming,
> 
> In message <2acbd3e40902041320l3bce93c1p989c4c33ca8e7ae@mail.gmail.com> you 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.
> 
> Why that? Don't you always enable only the interface you are trying to
> use?
> 
> That would be a bug that needs to be fixed.

It seems like the workaround for the "4 tsec autonegotiation delay" you
mention is to set a sane "ethact" value when you know which port you are
going to be using.  However, there is no good workaround for waiting for
link other than adding an arbitrary delay to the boot process which is
pretty hokey, thus the patch.

Best,
Peter

  reply	other threads:[~2009-02-04 21:45 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04 21:14 [U-Boot] [PATCH] tsec: Wait for auto-negotiation to complete without link Peter Tyser
2009-02-04 21:20 ` Andy Fleming
2009-02-04 21:26   ` Wolfgang Denk
2009-02-04 21:45     ` Peter Tyser [this message]
2009-02-04 23:07     ` Andy Fleming
2009-02-05 16:27       ` Peter Tyser
2009-02-06 13:32         ` Jerry Van Baren
2009-02-06 18:49           ` Andy Fleming
2009-02-06 19:30             ` Jerry Van Baren
2009-02-10  0:56               ` Andy Fleming
2009-02-10 13:59                 ` Jerry Van Baren
2009-02-10 17:31                   ` Scott Wood
2009-02-25 20:30                     ` Peter Tyser
2009-02-04 21:49   ` Scott Wood
2009-02-04 21:58     ` Wolfgang Denk
2009-02-04 22:00       ` Scott Wood
2009-02-04 22:19         ` Wolfgang Denk
2009-02-06 13:16       ` Jerry Van Baren
2009-02-06 17:16         ` Ben Warren
2009-07-19 20:14 ` Peter Tyser
2009-08-04 22:50   ` Peter Tyser
2009-08-21 17:04     ` Peter Tyser
2009-08-21 17:35 ` Ben Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1233783937.7067.387.camel@localhost.localdomain \
    --to=ptyser@xes-inc.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox