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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to