[U-Boot] [PATCH] ppc4xx - allow usage of fixed/unmanaged PHYs

Wolfgang Ocker
2008-08-26T19:34:14Z

Hello Grant!

On Tue, 2008-08-26 at 12:12 -0700, Grant Erickson wrote:
> Are ports 8/9 truly "unmanaged" or are they like ports 4/5 on the M88E6061
> in which the ports have MDIO/MII interfaces but do not follow IEEE register
> conventions?

> If the former, then I think it is better to just pull the speed and duplex
> settings from the switch and pass them up to the 4xx Ethernet driver. In my
> situation, I did as shown below. It is likely more invasive than your
> approach; however, it ensures that software follows what the hardware is
> strapped to.

Yes! It's possible to determine the speed and duplex mode (it's even
possible to set the duplex mode, speed is read only).

I'll test that tomorrow.

Thanks a lot,
Wolfgang