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

2007-07-04 Thread Joakim Tjernlund
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 si

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

2007-07-04 Thread Segher Boessenkool
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

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

2007-07-04 Thread Li Yang-r58472
{snip} > > OK, but then a new property in PHY node is needed which holds > the initial speed and duplex. > initial-phy-capacity = ? > This should be useful for real PHYs too if, for instance, autoneg isn't > working/supported/wanted. > > Maybe it should be: > initial-phy-capacity = > or > initi

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

2007-07-04 Thread Joakim Tjernlund
uly 03, 2007 3:21 PM > > > > To: Li Yang-r58472 > > > > Cc: linuxppc-dev Development; Netdev; Fleming Andy-afleming > > > > Subject: RE: [PATCH] ucc_geth.c, make PHY device optional. > > > > > > > > On Tue, 2007-07-03 at 11:4

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

2007-07-03 Thread Li Yang-r58472
> -Original Message- > From: Joakim Tjernlund [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 03, 2007 7:20 PM > To: Li Yang-r58472 > Cc: linuxppc-dev Development; Netdev; Fleming Andy-afleming > Subject: RE: [PATCH] ucc_geth.c, make PHY device optional. > > On

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

2007-07-03 Thread Joakim Tjernlund
> > Behalf Of Joakim Tjernlund > > > > Sent: Tuesday, July 03, 2007 8:52 AM > > > > To: 'linuxppc-dev Development'; 'Netdev'; Li Yang-r58472 > > > > Subject: [PATCH] ucc_geth.c, make PHY device optional. > > > > > > > >

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

2007-07-03 Thread Li Yang-r58472
> -Original Message- > From: Joakim Tjernlund [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 03, 2007 3:21 PM > To: Li Yang-r58472 > Cc: linuxppc-dev Development; Netdev; Fleming Andy-afleming > Subject: RE: [PATCH] ucc_geth.c, make PHY device optional. > > On

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

2007-07-03 Thread Joakim Tjernlund
#x27;; 'Netdev'; Li Yang-r58472 > > Subject: [PATCH] ucc_geth.c, make PHY device optional. > > > > > This patch makes the PHY optional for ucc_geth.c ethernet driver. > > > This is useful to support a direct mii to mii connection to, for > example,

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

2007-07-02 Thread Li Yang-r58472
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Joakim Tjernlund > Sent: Tuesday, July 03, 2007 8:52 AM > To: 'linuxppc-dev Development'; 'Netdev'; Li Yang-r58472 > Subject: [PATCH] ucc_geth.c, make PHY device

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

2007-07-02 Thread Joakim Tjernlund
> This patch makes the PHY optional for ucc_geth.c ethernet driver. > This is useful to support a direct mii to mii connection to, for example, > a onboard swicth. > > Signed-off-by: Joakim Tjernlund <[EMAIL PROTECTED]> [SNIP patch sent last Friday] Since this is my last week before vacation

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

2007-06-29 Thread Joakim Tjernlund
This patch makes the PHY optional for ucc_geth.c ethernet driver. This is useful to support a direct mii to mii connection to, for example, a onboard swicth. Signed-off-by: Joakim Tjernlund <[EMAIL PROTECTED]> diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 32bb748..8630294