public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Fix for MII utils
@ 2003-10-20 17:00 Steven Scholz
  2003-10-20 17:02 ` [U-Boot-Users] " Steven Scholz
  2003-10-20 19:22 ` [U-Boot-Users] " Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: Steven Scholz @ 2003-10-20 17:00 UTC (permalink / raw)
  To: u-boot

Hi there,

the attached patch addresses two MII related issues:
a) mii info <addr> ignored <addr> and always showed info for 32 PHYs
b) The "Trick" mentioned in miiphy_info():
"	* Trick: we are reading two 16 registers into a 32 bit variable
	* so we do a 16 read into the high order bits of the variable (big
	* endian, you know), shift it down 16 bits, and the read the rest."
     does obviously not work on little endian machines.

* Patch by Steven Scholz, 20 Oct 2003
   - "mii info <addr>" now only shows the info for PHY "addr" as the help
      message already suggests
   - Endian fix for miiphy_info()


Thanks,

Steven

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-06 22:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-20 17:00 [U-Boot-Users] Fix for MII utils Steven Scholz
2003-10-20 17:02 ` [U-Boot-Users] " Steven Scholz
2003-12-06 22:50   ` Wolfgang Denk
2003-10-20 19:22 ` [U-Boot-Users] " Wolfgang Denk
2003-10-21  5:39   ` Steven Scholz
2003-11-06 11:17     ` Steven Scholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox