mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] Improve PHY AutoNeg procedure
@ 2015-10-31 13:07 Anton Bondarenko
  2015-10-31 13:07 ` [PATCH] net: phy: wait for link OK after successfull autonegotiation Anton Bondarenko
  0 siblings, 1 reply; 3+ messages in thread
From: Anton Bondarenko @ 2015-10-31 13:07 UTC (permalink / raw)
  To: s.hauer, barebox

While working with IMX6Q Embedsky E9 I've noticed the problem with
first attempt to run 'ifup eth0'. The root cause of the failure is in PHY
not setting bit '1.2 Link Status' at the same time as setting
bit '1.5 Auto-Negotiation Complete'. The delay between these changes
could be up to 4 ms. PHY is Realtek RTL8211E. The proposed change would
improve handling of similar situations.

Anton Bondarenko (1):
  net: phy: wait for link OK after successfull autonegotiation

 drivers/net/phy/phy.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

-- 
2.6.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-02  8:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-31 13:07 [PATCH] Improve PHY AutoNeg procedure Anton Bondarenko
2015-10-31 13:07 ` [PATCH] net: phy: wait for link OK after successfull autonegotiation Anton Bondarenko
2015-11-02  8:00   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox