public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] MII register display
Date: Wed, 6 May 2009 22:03:45 -0400	[thread overview]
Message-ID: <200905062203.46149.vapier@gentoo.org> (raw)
In-Reply-To: <9e4733910905061853l3142d1fbxe630f90ed7bb1894@mail.gmail.com>

On Wednesday 06 May 2009 21:53:21 Jon Smirl wrote:
> On Wed, May 6, 2009 at 2:57 PM, Jon Smirl <jonsmirl@gmail.com> wrote:
> > Why is "speed selection = 10 Mbps" when both sides support 100Mb?
> > Is uboot decoding this register correctly?
> >
> > uboot> mii dump 0 0
> > 0.     (1000)                 -- PHY control register --
> >  (8000:0000) 0.15    =     0    reset
> >  (4000:0000) 0.14    =     0    loopback
> >  (2040:0000) 0. 6,13 =   b00    speed selection = 10 Mbps
>
> This b00 here is confusing. b is a valid hex character, I thought this
> was reporting the register value as 0xb00.
> Instead it appears to be trying to indicate that the two bits are binary?

looks that way.  it's showing bit6 and bit13.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090506/d4d0c386/attachment.pgp 

  reply	other threads:[~2009-05-07  2:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06 18:57 [U-Boot] MII register display Jon Smirl
2009-05-07  1:53 ` Jon Smirl
2009-05-07  2:03   ` Mike Frysinger [this message]
2009-05-07  2:06     ` Jon Smirl
2009-05-07  2:20       ` Mike Frysinger
2009-05-07 11:46   ` Jerry Van Baren

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=200905062203.46149.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --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