From: Gary Thomas <gary@mlbassoc.com>
To: Linux PPC Development <linuxppc-dev@ozlabs.org>
Subject: Re: Fixed-link PHY question
Date: Thu, 17 Jun 2010 12:50:18 -0600 [thread overview]
Message-ID: <4C1A6E6A.8010207@mlbassoc.com> (raw)
In-Reply-To: <4C1A61D9.4020306@mlbassoc.com>
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
------------------------------------------------------------
prev parent reply other threads:[~2010-06-17 18:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-17 17:56 Fixed-link PHY question Gary Thomas
2010-06-17 18:50 ` Gary Thomas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C1A6E6A.8010207@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox