mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Anton Bondarenko <anton.bondarenko.sama@gmail.com>
To: s.hauer@pengutronix.de, barebox@lists.infradead.org
Subject: [PATCH] Improve PHY AutoNeg procedure
Date: Sat, 31 Oct 2015 14:07:51 +0100	[thread overview]
Message-ID: <1446296872-1592-1-git-send-email-anton.bondarenko.sama@gmail.com> (raw)

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

             reply	other threads:[~2015-10-31 13:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-31 13:07 Anton Bondarenko [this message]
2015-10-31 13:07 ` [PATCH] net: phy: wait for link OK after successfull autonegotiation Anton Bondarenko
2015-11-02  8:00   ` Sascha Hauer

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=1446296872-1592-1-git-send-email-anton.bondarenko.sama@gmail.com \
    --to=anton.bondarenko.sama@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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