[PATCH 1/5] phylib: don't create a phydev for ID-less PHYs.
Grant Likely
grant.likely at secretlab.ca
Fri Apr 11 23:54:03 EST 2008
On Fri, Apr 11, 2008 at 4:47 AM, Joakim Tjernlund
<joakim.tjernlund at transmode.se> wrote:
>
> On Fri, 2008-04-11 at 10:06 +0200, Stefan Roese wrote:
> > On Friday 11 April 2008, Joakim Tjernlund wrote:
> > > PHY ID 0x0 isn't an invalid id, I got a Broadcom PHY that has
> > > PHY ID=0. Maybe I am misunderstanding something?
> >
> > IIRC, address 0 is the PHY broadcast address, but can be used without problem
> > with some PHY's. I remember some designs were we had the PHY at address 0.
>
> Ouh, if that is so, I guess we need a CONFIG option or a new mdio bus
> property to select if PHY ID 0 is valid id or not.
Or, don't probe for phys by default. Rather, use the data in the
device tree to determine what PHY ids are valid.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
More information about the Linuxppc-dev
mailing list