[U-Boot-Users] [PATCH] Add support for Generic PHY in macb

Michael Schwingen
2008-02-22T16:22:24Z

Haavard Skinnemoen wrote:
> Yes, we could do that. But it comes with its own share of problems --
> some boards have a too weak pull-up (or none at all) on the MDIO line,
> so the probing code sometimes thinks it has found a whole bunch of
> PHYs...
>
And you have to know which PHY belongs to which MII port - for example,
the IXP420 has two MII busses, but only one shared MDIO, so PHY
addresses can not be autodetected - you need some kind of board-specific
table/code that defines the mapping between PHY addresses and MII
busses. Which is basically what we have now, in the form of
CONFIG_PHY*_ADDR ;-)

cu
Michael