public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] net: Use 0.5 sec timeout in miiphy_reset() instead of counting loop
Date: Sat, 06 Feb 2010 23:06:03 -0800	[thread overview]
Message-ID: <4B6E665B.7030201@gmail.com> (raw)
In-Reply-To: <1265114628-14041-1-git-send-email-sr@denx.de>

Stefan,

On 2/2/2010 4:43 AM, Stefan Roese wrote:
> This patch fixes a problem I've notived on a buggy PPC4xx system. This
> system has problems with the PHY MDIO communication and seemed to be
> stuck/crashed in miiphy_reset(). But degugging revealed, that the CPU
> didn't crash, but "only" hung in this counting loop for about 2 minutes.
>
> This patch now uses a real timeout of 0.5 seconds (as mentioned in the
> comment in miiphy_reset).
>
> Signed-off-by: Stefan Roese<sr@denx.de>
> Cc: Ben Warren<biggerbadderben@gmail.com>
> ---
>   common/miiphyutil.c |   12 ++++++------
>   1 files changed, 6 insertions(+), 6 deletions(-)
>    
Applied to net repo.

thanks,
Ben

      parent reply	other threads:[~2010-02-07  7:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-02 12:43 [U-Boot] [PATCH] net: Use 0.5 sec timeout in miiphy_reset() instead of counting loop Stefan Roese
2010-02-02 14:14 ` Ladislav Michl
2010-02-07  7:06 ` Ben Warren [this message]

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=4B6E665B.7030201@gmail.com \
    --to=biggerbadderben@gmail.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