[PATCH] ucc_geth.c, make PHY device optional.

Joakim Tjernlund joakim.tjernlund at transmode.se
Thu Jul 5 02:44:39 EST 2007


On Wed, 2007-07-04 at 15:32 +0200, Segher Boessenkool wrote:
> > How about separate autoneg to a property "dumb-phy", which  
> > indicates the
> > PHY/switch doesn't provide MII register interface.
> 
> Something like that I suppose.  But don't call it "dumb phy",
> nor "fake phy", nor anything similar -- there simply is _no_
> phy.  If the Linux code wants to pretend there is one, that's
> one thing, but there is no need to do any of this trickery in
> the device tree.
> 
> > Therefore, it should
> > use the fixed speed and duplex from device node rather than registers.
> 
> Yes.

Not sure I follow, something like this?
  initial-phy-capacity = <speed duplex>
  no-mdio-interface

autoneg does not fit in there.

Jocke



More information about the Linuxppc-dev mailing list