From: Manfred Spraul <manfred@colorfullife.com>
To: Roger Luethi <rl@hellgate.ch>
Cc: linux-kernel@vger.kernel.org, Netdev <netdev@oss.sgi.com>
Subject: Re: [2/3] via-rhine: de-isolate PHY
Date: Sun, 08 Aug 2004 23:04:06 +0200 [thread overview]
Message-ID: <41169546.5000308@colorfullife.com> (raw)
In-Reply-To: <20040808200532.GA19170@k3.hellgate.ch>
Roger Luethi wrote:
>
>
>>I know that PHYs go into isolate mode if the startup id is wired to 0,
>>
>>
>
>Wouldn't that be s/go/can go/ ?
>
>
>
I don't have the MII standard, my knowledge is from the DP83840A specs:
The pin description contains a section about the phy ids:
During power up five pins are latched to determine the initial phy address.
Then the following sentence in bold: "An address selection of all zeros
(00000) will result in a PHY isolation condition".
I've reread the DP specs and I now think that your current patch is
sufficient:
The isolate state is independant from the phy address - a non-zero phy
can be in isolate mode and the phy zero can be non-isolated. The phy id
just sets the power-up value of the isolate bit: 0 means start isolated,
non-zero means start non-isolated.
If this is really true then handling phy 0 is trivial:
First scan 1-31. If nothing found: try 0. If a phy is found: clear the
isolate bit and then use phy 0.
--
Manfred
next prev parent reply other threads:[~2004-08-08 21:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-08 19:53 [2/3] via-rhine: de-isolate PHY Manfred Spraul
2004-08-08 20:05 ` Roger Luethi
2004-08-08 21:04 ` Manfred Spraul [this message]
2004-08-08 21:54 ` Roger Luethi
-- strict thread matches above, loose matches on Subject: below --
2004-08-08 14:02 [0/3] via-rhine: experimental patches Roger Luethi
2004-08-08 14:02 ` [2/3] via-rhine: de-isolate PHY Roger Luethi
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=41169546.5000308@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.com \
--cc=rl@hellgate.ch \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.