From: Michael Schwingen <rincewind@discworld.dascon.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Add support for Generic PHY in macb
Date: Sun, 24 Feb 2008 17:36:52 +0100 [thread overview]
Message-ID: <47C19D24.3040708@discworld.dascon.de> (raw)
In-Reply-To: <20080224143020.ksoubcy5gk0sc0s8@feanor.sssup.it>
trimarchi at gandalf.sssup.it wrote:
> ... if I understand the physical address is latched during power on and
> if the logic is not good maybe it can be latched a different addresss in
> different session. I like somenthing that permits at software
> developer to easy
> search for the physical address.
The "mii info" command (without a PHY address as parameter) does exactly
what you need:
=> mii info
PHY 0x10: OUI = 0x5043, Model = 0x08, Rev = 0x07, 10baseT, HDX
PHY 0x11: OUI = 0x5043, Model = 0x08, Rev = 0x07, 10baseT, HDX
PHY 0x12: OUI = 0x5043, Model = 0x08, Rev = 0x07, 10baseT, HDX
PHY 0x13: OUI = 0x5043, Model = 0x08, Rev = 0x07, 100baseT, FDX
PHY 0x14: OUI = 0x5043, Model = 0x08, Rev = 0x07, 10baseT, HDX
PHY 0x15: OUI = 0x0000, Model = 0x00, Rev = 0x00, 10baseT, HDX
PHY 0x16: OUI = 0x0000, Model = 0x00, Rev = 0x00, 10baseT, HDX
PHY 0x17: OUI = 0x0000, Model = 0x00, Rev = 0x00, 10baseT, HDX
PHY 0x18: OUI = 0x0001, Model = 0x20, Rev = 0x02, 10baseT, HDX
PHY 0x19: OUI = 0x0001, Model = 0x20, Rev = 0x02, 10baseT, HDX
PHY 0x1A: OUI = 0x0001, Model = 0x20, Rev = 0x02, 10baseT, HDX
PHY 0x1B: OUI = 0x0001, Model = 0x20, Rev = 0x02, 10baseT, HDX
PHY 0x1C: OUI = 0x0001, Model = 0x20, Rev = 0x02, 10baseT, HDX
PHY 0x1D: OUI = 0x0001, Model = 0x20, Rev = 0x02, 10baseT, HDX
PHY 0x1E: OUI = 0x0000, Model = 0x00, Rev = 0x00, 10baseT, HDX
PHY 0x1F: OUI = 0x0000, Model = 0x00, Rev = 0x00, 10baseT, HDX
Now which of these should the autodetect code pick? (hint: 0x13 is
wrong, even if it is the only one that shows a 100Mbps link). Also, this
really is a board with working MDIO, with correct pullups, so no "ghost"
PHYs in the list.
cu
Michael
next prev parent reply other threads:[~2008-02-24 16:36 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-22 16:02 [U-Boot-Users] [PATCH] Add support for Generic PHY in macb Michael Trimarchi
2008-02-22 16:08 ` Haavard Skinnemoen
2008-02-22 16:22 ` Michael Schwingen
2008-02-23 12:23 ` michael
2008-02-24 9:10 ` Michael Schwingen
2008-02-24 13:30 ` trimarchi at gandalf.sssup.it
2008-02-24 16:36 ` Michael Schwingen [this message]
2008-02-24 17:48 ` trimarchi at gandalf.sssup.it
2008-02-24 18:24 ` Andy Fleming
-- strict thread matches above, loose matches on Subject: below --
2008-02-22 16:19 Michael Trimarchi
2008-02-26 1:30 ` Ben Warren
2008-02-22 14:07 Michael Trimarchi
2008-02-22 12:29 Michael Trimarchi
2008-02-22 12:27 Michael Trimarchi
2008-02-22 12:52 ` Haavard Skinnemoen
2008-02-22 14:05 ` michael
2008-02-22 14:39 ` Haavard Skinnemoen
2008-02-22 15:05 ` Michael Schwingen
2008-02-22 15:34 ` Haavard Skinnemoen
2008-02-22 15:46 ` Michael Schwingen
2008-02-26 1:23 ` Ben Warren
2008-02-22 11:41 michael
2008-02-22 12:16 ` Haavard Skinnemoen
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=47C19D24.3040708@discworld.dascon.de \
--to=rincewind@discworld.dascon.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.