
20 Oct
2003
20 Oct
'03
7 p.m.
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