From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ppc4xx - allow usage of fixed/unmanaged PHYs
Date: Tue, 26 Aug 2008 14:09:03 -0700 [thread overview]
Message-ID: <48B470EF.2000007@gmail.com> (raw)
In-Reply-To: <1219778385.3294.80.camel@galileo.recco.de>
Wolfgang Ocker wrote:
> Hi Wolfgang!
>
> On Tue, 2008-08-26 at 20:52 +0200, Wolfgang Denk wrote:
>
>> In message <1219774284.3294.52.camel@galileo.recco.de> you wrote:
>>
>>> This patch allows a managed switch like the 88E6083 to be directly
>>> connected to a 4xx using PHY mode.
>>>
>>> It avoids waiting for a link (it's always there) and uses fixed values
>>> for speed and duplex mode since both settings are hardware controlled.
>>>
>> How does this patch work in configurations which have such a switch
>> attached to one network interface, but a normal PHY to one or more
>> other interfaces?
>>
>
> It does not work. I guess you have to further increase complexity and
> handle all the possible configurations (devnum + CONFIG_PHYx_UNMANAGED
> etc., analogous to the phy address).
>
> In case I interpret the code correctly, different kinds of PHYs on a
> board are not supported in general.
>
> Thanks,
> Wolfgang
>
> _
This is a very common situation and was one of the motivations for my
effort to move Ethernet initialization to board code. The use of
different CONFIGs for each interface is IMHO not scalable. I'm
intrigued by the idea of getting specific information from a device tree
as has been recently suggested, but wonder if it'll ever happen.
Sorry for the diatribe. I should have the 4xx controller switched over
to cpu/board initialization within a couple of days. Let's look then
into how to pass PHY specifics to each interface.
regards,
Ben
next prev parent reply other threads:[~2008-08-26 21:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-26 18:11 [U-Boot] [PATCH] ppc4xx - allow usage of fixed/unmanaged PHYs Wolfgang Ocker
2008-08-26 18:52 ` Wolfgang Denk
2008-08-26 19:19 ` Wolfgang Ocker
2008-08-26 21:09 ` Ben Warren [this message]
2008-08-26 19:12 ` Grant Erickson
2008-08-26 19:34 ` Wolfgang Ocker
2008-09-22 12:59 ` Stefan Roese
2008-09-22 13:55 ` Wolfgang Ocker
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=48B470EF.2000007@gmail.com \
--to=biggerbadderben@gmail.com \
--cc=u-boot@lists.denx.de \
/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