Fixed-link PHY question

Gary Thomas gary at mlbassoc.com
Fri Jun 18 04:50:18 EST 2010


On 06/17/2010 11:56 AM, Gary Thomas wrote:
> I'm working with 2.6.33.3 on a MPC8358.  I'm trying to get it
> to talk to a Marvell (DSA) switch which uses special drivers
> and addressing to act like a PHY. I have this working fine
> on some older (2.6.28) systems by using a fixed-link PHY
> descriptor in my device tree (using the TSEC on 8347).
>
> The GETH driver calls 'of_phy_connect_fixed_link' which
> always gives me this error:
> PHY 0:01 not found
> net eth1: Could not attach to PHY
>
> How can I get the GETH driver to just accept the pseudo
> PHY connection specified by
> fixed-link = <1 1 1000 0 0>;

Figured it out - my ethernet node in the device tree has
to be called 'ethernet' for the fixed PHY emulation to see
the fixed-link properties.

Seems rather limited, but I don't have time to change it.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the Linuxppc-dev mailing list