All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Q: MII read
Date: Sun, 13 Mar 2011 11:50:07 +0100	[thread overview]
Message-ID: <4D7CA15F.5050805@denx.de> (raw)
In-Reply-To: <AANLkTikAwu52Hn_qBpoMt_vDKsheywudRyxLtuAzDb8d@mail.gmail.com>

On 03/13/2011 09:24 AM, Ran Shalit wrote:
> Hello,
> 
Hi Ran,

> I would like to ask a question regarding the MII functionality :
> When using mii commands (cmd_mii.c) everything works well, until trying to
> do a ping (using net command).
> After any ping try(with success or not), the mii read function is
> stuck.  Maybe it has to do with davinci mii implementation, but I am not
> sure if this is the problem or not.
> Any advice is welcomed.

I think this is not a general issue, as with other processors/boards
everything works fine. However, after using a net command, the dev->halt
callback is called, and this could disable the phy.

If you are using the davinci_emac driver, take a look at the
davinci_eth_close() function. It can be that when the controller is
turned off, you cannot access to the phy anymore.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

      reply	other threads:[~2011-03-13 10:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-13  8:24 [U-Boot] Q: MII read Ran Shalit
2011-03-13 10:50 ` Stefano Babic [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=4D7CA15F.5050805@denx.de \
    --to=sbabic@denx.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.