Skip to contentSkip to conversation

PATCH: Add support for GbE in phy utils

U-Boot-Users Travis Sawyer 2 participants 2 messages Mar 12, 2004 – Mar 14, 2004

lore
Share & tools
lore
#0 lore raw

Greetings:

The IEEE now has free access to their specs (
http://standards.ieee.org/getieee802/ )

In the 802.3-2002, Section 22.2.4.3:
<paraphrase>
Any attempts to read a register in the extended register set, and the PHY does not implement that register, the phy shall not drive the MDIO line. Any attempts for a write of said register will be ignored </paraphrase>

I've implemented and tested a patch for the mii phy utils:
common/cmd_mii.c
common/miiphyutil.c
include/miiphy.c

I tested on the ocotea board that has phy's that do and do not implement register 0x0A (master-slave status register)

The patch is attached.

CHANGELOG
Travis Sawyer 12 Mar 2004
Add Gigabit Ethernet Support to MII PHY utilities

A subsequent patch for the 440GX ethernet will follow.

-travis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-GbE-MIIPHY.patch
Type: text/x-patch
Size: 2843 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040312/48ca2b32/attachment.bin

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

CHANGELOG
Travis Sawyer 12 Mar 2004
Add Gigabit Ethernet Support to MII PHY utilities

This patch duplicates modifucations already contained within your previous patch (omitted these).

Added, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"A complex system that works is invariably found to have evolved from
a simple system that worked."             - John Gall, _Systemantics_