[U-Boot] [PATCH] tsec: Wait for auto-negotiation to complete without link

Andy Fleming afleming at gmail.com
Wed Feb 4 22:20:55 CET 2009


On Wed, Feb 4, 2009 at 3:14 PM, Peter Tyser <ptyser at xes-inc.com> wrote:
> Previously, waiting for auto-negotiation would only occur if a valid
> link had been detected.  Problems arose when attempting to use a
> tsec immediately after bootup but before link was achieved, eg:
> => dhcp
> Auto-neg error, defaulting to 10BT/HD
> eTSEC1: No link.
> Auto-neg error, defaulting to 10BT/HD
> eTSEC2: No link.
> =>

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.

Andy


More information about the U-Boot mailing list