[U-Boot-Users] MII Speed & Duplex Readback

Alan J. Luse alanl at timeamerica.com
Fri Apr 30 00:04:52 CEST 2004


The MII PHY utility (common/miiphyutil.c) does not report network speed
and duplex mode properly if auto-negotiate is not enabled.  The attached
patch checks if auto-negotiate is enabled and looks in the proper
registers based on that bit to return speed and duplex values.

* Patch by Alan J. Luse, 29 Apr 2004:
  Report MII network speed and duplex setting properly when
auto-negotiate
  is not enabled.

Alan J. Luse
Embedded Systems Engineer
Time America, Inc.
51 West Third Street, Suite 310
Tempe, AZ 85281
Voice:  (480) 296-0408
Fax:  (480) 296-0444
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-1.1.1.miiphyutil.diff
Type: application/octet-stream
Size: 2287 bytes
Desc: u-boot-1.1.1.miiphyutil.diff
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040429/4e48f528/attachment.obj 


More information about the U-Boot mailing list