From: Travis Sawyer <tsawyer+u-boot@sandburst.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Gigabit Ethernet?
Date: Fri, 12 Mar 2004 08:39:03 -0500 [thread overview]
Message-ID: <1079098742.3046.70.camel@pavement.sandburst.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0403112336090.19301@pianoman.cluster.toy>
John et al:
See inline below...
On Thu, 2004-03-11 at 23:59, John Clemens wrote:
> and having to write specific
> code for each phy, whose documentation may or may not be publically
> available is.. well, scary...
I concur full heartedly!!!
>
> Phy register 0x0A looks promising.. does anyone know of a gigabit phy that
> doesn't support that register for 1000bT mode? specifically bits 10/11.
> (see a Cicada datasheet here:
> http://www.cicada-semi.com/products/lan/CIS8201/CIS8201_Data_Sheet_Rev_1_2_2.pdf)
> I don't know about marvell (no docs).
>
The cicada spec says: (paraphrasing here): Shaded registers (0x00 -
0x0f) indicate standard MII registers. All unshaded registers are
optional registers, per the IEEE 802.3 standard.
> Seems like we should be able to use those bits like the bits in register
> 0x5 for 10/100 modes... and my gut tells me that register is in a spec
> somwhere..
The LXT9262/9782 spec says: Base registers (0 through 8) are in
accordance with... Additional rgisters (16 through 22) are defined in
accordance with IEEE 802.3 specification for adding _*unique chip
functions*_
Specifically, registers 9 and 10 (1000Base-T/100Base-T2 Control and
status) are not implemented.
The lxt spec does not indicate what reads to these registers would
result in, but for giggles I tried it out.
Using my ocotea board (4 ethernet ports, 0 & 1 are 10/100 and 2 & 3 are
10/100/1000). Phy for port 0 is at address 0x01, and phy for port 2 is
at 0x10. Since the board has 4 phy chips, the mii info is a bit
cluttered. (Note the lxt is a 6 port phy)
Please note, I currently don't have any hacks in for GbE support so mii
info incorrectly states that phy 0x10 is at 100Mb/s.
=> mii info
PHY 0x00: OUI = 0x0000, Model = 0x00, Rev = 0x00, 10baseT, HDX
PHY 0x01: OUI = 0x04DE, Model = 0x08, Rev = 0x07, 100baseT, FDX
PHY 0x02: OUI = 0x04DE, Model = 0x08, Rev = 0x07, 10baseT, HDX
PHY 0x03: OUI = 0x04DE, Model = 0x08, Rev = 0x07, 10baseT, HDX
PHY 0x04: OUI = 0x04DE, Model = 0x08, Rev = 0x07, 10baseT, HDX
PHY 0x05: OUI = 0x04DE, Model = 0x08, Rev = 0x07, 10baseT, HDX
PHY 0x06: OUI = 0x04DE, Model = 0x08, Rev = 0x07, 10baseT, HDX
PHY 0x10: OUI = 0x03F1, Model = 0x01, Rev = 0x03, 100baseT, FDX
PHY 0x18: OUI = 0x03F1, Model = 0x01, Rev = 0x03, 10baseT, HDX
=> mii read 1 0
3100
=> mii read 1 1
7829
=> mii read 1 9
FFFF
=> mii read 1 a
FFFF
=> mii read 10 0
1140
=> mii read 10 1
796D
=> mii read 10 9
0300
=> mii read 10 a
7C00
=>
So, the LXT reports FFFF for the unimplented registers, the cicada
properly reports Link partner capable of 1000FDX & 1000HDX in register
0xA
So, if the IEEE802.3 spec. say unimplemented registers return F's we're
in business. Anyone have the spec handy???
> > > > Is anyone working on Gigabit Ethernet PHY support for u-boot?
> > >
-travis
next prev parent reply other threads:[~2004-03-12 13:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-11 15:37 [U-Boot-Users] PATCH: IBM440Ref Platform (Ocotea) interrupt Travis Sawyer
2004-03-11 15:48 ` [U-Boot-Users] Gigabit Ethernet? Travis Sawyer
2004-03-11 16:02 ` Wolfgang Denk
2004-03-11 16:37 ` Travis Sawyer
2004-03-11 18:14 ` Carl Riechers
2004-03-12 4:59 ` John Clemens
2004-03-12 13:39 ` Travis Sawyer [this message]
2004-03-12 16:14 ` Frank
2004-03-12 18:27 ` John Clemens
2004-03-12 18:40 ` Travis Sawyer
2004-03-12 18:57 ` John Clemens
2004-03-11 16:24 ` Dan Malek
2004-03-14 15:44 ` [U-Boot-Users] PATCH: IBM440Ref Platform (Ocotea) interrupt Wolfgang Denk
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=1079098742.3046.70.camel@pavement.sandburst.com \
--to=tsawyer+u-boot@sandburst.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