[U-Boot] [PATCH] UEC PHY: Speed up initial PHY neg.

Detlev Zundel dzu at denx.de
Thu Aug 12 14:58:47 CEST 2010


Hi Jocke,

> Instead of always performing an autoneg, check if the PHY
> already has a link and if it matches one of the requested
> modes. Initially only 100MbFD is optimized this way.

Isn't it about time that we think about _not_ stopping the ethernet
device after every transaction?

Why not initialize it for the first transfer and stop it once we boot a
kernel?  For USB for example we do just that.

Sorry for not providing a concrete patch, but I felt it is worthwhile to
throw that thought into the discussion as it pops up more and more often
nowadays.  For example usb-cdc which currently deregisters the network
device on the host side after _every_ transfer....

Cheers
  Detlev

-- 
You live and learn
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list