From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
Jeff Garzik <jeff@garzik.org>,
linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar for fixed-link property
Date: Tue, 27 Nov 2007 16:59:52 +0300 [thread overview]
Message-ID: <20071127135952.GA1483@localhost.localdomain> (raw)
In-Reply-To: <1196169432.9816.16.camel@gentoo-jocke.transmode.se>
On Tue, Nov 27, 2007 at 02:17:11PM +0100, Joakim Tjernlund wrote:
>
> On Tue, 2007-11-27 at 14:39 +0300, Anton Vorontsov wrote:
> > On Mon, Nov 26, 2007 at 04:04:08PM +0100, Joakim Tjernlund wrote:
> > > On Mon, 2007-11-26 at 17:29 +0300, Vitaly Bordug wrote:
> > > > fixed-link says: register new "Fixed/emulated PHY", i.e. PHY that
> > > > not connected to the real MDIO bus.
> > > >
> > > > Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org>
> > > > Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> > > >
> > > > ---
> > > >
> > > > Documentation/powerpc/booting-without-of.txt | 3 +
> > > > arch/powerpc/sysdev/fsl_soc.c | 56 ++++++++++++++++++--------
> > > > 2 files changed, 42 insertions(+), 17 deletions(-)
> > > >
> > > >
> > > > diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
> > > > index e9a3cb1..cf25070 100644
> > > > --- a/Documentation/powerpc/booting-without-of.txt
> > > > +++ b/Documentation/powerpc/booting-without-of.txt
> > > > @@ -1254,6 +1254,9 @@ platforms are moved over to use the flattened-device-tree model.
> > > > services interrupts for this device.
> > > > - phy-handle : The phandle for the PHY connected to this ethernet
> > > > controller.
> > > > + - fixed-link : <a b c> where a is emulated phy id - choose any,
> > > > + but unique to the all specified fixed-links, b is duplex - 0 half,
> > > > + 1 full, c is link speed - d#10/d#100/d#1000.
> > >
> > > Good work!
> > > May I suggest adding a "d" to <a b c> where d is flow control - 0 no, 1 yes
> >
> > Well, I see no reference of the "flow" neither in the include/linux/mii.h
> > nor in the drivers/net/phy/*. :-/ Thus today there is no such register
> > bit we can emulate?..
>
> Well, as good as I can recall, flow control(pause) is something that the
> PHY negotiates, just like FDX/HDX and should be dealt with in the
> adjust_link callback but not many do currently.
>
> If you seach for pause in phy_device.c you will find it.
Ah, pause. Sure, we can emulate that.
--
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.net/bd2
WARNING: multiple messages have this Message-ID (diff)
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Cc: Vitaly Bordug <vitb@kernel.crashing.org>,
linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org,
Jeff Garzik <jeff@garzik.org>,
netdev@vger.kernel.org
Subject: Re: [PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar for fixed-link property
Date: Tue, 27 Nov 2007 16:59:52 +0300 [thread overview]
Message-ID: <20071127135952.GA1483@localhost.localdomain> (raw)
In-Reply-To: <1196169432.9816.16.camel@gentoo-jocke.transmode.se>
On Tue, Nov 27, 2007 at 02:17:11PM +0100, Joakim Tjernlund wrote:
>
> On Tue, 2007-11-27 at 14:39 +0300, Anton Vorontsov wrote:
> > On Mon, Nov 26, 2007 at 04:04:08PM +0100, Joakim Tjernlund wrote:
> > > On Mon, 2007-11-26 at 17:29 +0300, Vitaly Bordug wrote:
> > > > fixed-link says: register new "Fixed/emulated PHY", i.e. PHY that
> > > > not connected to the real MDIO bus.
> > > >
> > > > Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org>
> > > > Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> > > >
> > > > ---
> > > >
> > > > Documentation/powerpc/booting-without-of.txt | 3 +
> > > > arch/powerpc/sysdev/fsl_soc.c | 56 ++++++++++++++++++--------
> > > > 2 files changed, 42 insertions(+), 17 deletions(-)
> > > >
> > > >
> > > > diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
> > > > index e9a3cb1..cf25070 100644
> > > > --- a/Documentation/powerpc/booting-without-of.txt
> > > > +++ b/Documentation/powerpc/booting-without-of.txt
> > > > @@ -1254,6 +1254,9 @@ platforms are moved over to use the flattened-device-tree model.
> > > > services interrupts for this device.
> > > > - phy-handle : The phandle for the PHY connected to this ethernet
> > > > controller.
> > > > + - fixed-link : <a b c> where a is emulated phy id - choose any,
> > > > + but unique to the all specified fixed-links, b is duplex - 0 half,
> > > > + 1 full, c is link speed - d#10/d#100/d#1000.
> > >
> > > Good work!
> > > May I suggest adding a "d" to <a b c> where d is flow control - 0 no, 1 yes
> >
> > Well, I see no reference of the "flow" neither in the include/linux/mii.h
> > nor in the drivers/net/phy/*. :-/ Thus today there is no such register
> > bit we can emulate?..
>
> Well, as good as I can recall, flow control(pause) is something that the
> PHY negotiates, just like FDX/HDX and should be dealt with in the
> adjust_link callback but not many do currently.
>
> If you seach for pause in phy_device.c you will find it.
Ah, pause. Sure, we can emulate that.
--
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.net/bd2
next prev parent reply other threads:[~2007-11-27 13:55 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-26 14:29 [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality Vitaly Bordug
2007-11-26 14:29 ` Vitaly Bordug
2007-11-26 14:29 ` [PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar for fixed-link property Vitaly Bordug
2007-11-26 14:29 ` Vitaly Bordug
2007-11-26 15:04 ` Joakim Tjernlund
2007-11-26 15:04 ` [PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar forfixed-link property Joakim Tjernlund
2007-11-27 11:39 ` [PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar for fixed-link property Anton Vorontsov
2007-11-27 11:39 ` Anton Vorontsov
2007-11-27 13:17 ` Joakim Tjernlund
2007-11-27 13:17 ` Joakim Tjernlund
2007-11-27 13:59 ` Anton Vorontsov [this message]
2007-11-27 13:59 ` Anton Vorontsov
2007-11-27 14:01 ` Joakim Tjernlund
2007-11-27 14:01 ` Joakim Tjernlund
2007-11-26 14:29 ` [PATCH 3/3] [POWERPC] MPC8349E-mITX: Vitesse 7385 PHY is not connected to the MDIO bus Vitaly Bordug
2007-11-26 14:29 ` Vitaly Bordug
2007-12-01 13:48 ` [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality Jochen Friedrich
2007-12-01 13:48 ` Jochen Friedrich
2007-12-01 19:07 ` Vitaly Bordug
2007-12-01 19:07 ` Vitaly Bordug
2007-12-01 21:34 ` Anton Vorontsov
2007-12-01 21:34 ` Anton Vorontsov
2007-12-01 22:22 ` Vitaly Bordug
2007-12-01 22:22 ` Vitaly Bordug
2007-12-01 23:27 ` Stephen Rothwell
2007-12-01 23:27 ` Stephen Rothwell
2007-12-02 11:54 ` [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHYlayer functionality Joakim Tjernlund
2007-12-02 11:54 ` Joakim Tjernlund
2007-12-02 12:13 ` Anton Vorontsov
2007-12-02 12:13 ` Anton Vorontsov
2007-12-01 21:59 ` [PATCH 1/3] [NET] phy/fixed.c: rework to not duplicate PHY layer functionality Jeff Garzik
2007-12-01 21:59 ` Jeff Garzik
2007-12-01 22:16 ` Vitaly Bordug
2007-12-01 22:16 ` Vitaly Bordug
2007-12-04 20:07 ` Jeff Garzik
2007-12-04 20:07 ` Jeff Garzik
2007-12-05 1:22 ` Vitaly Bordug
2007-12-05 1:22 ` Vitaly Bordug
-- strict thread matches above, loose matches on Subject: below --
2007-12-06 22:51 Vitaly Bordug
2007-12-06 22:51 ` [PATCH 2/3] [POWERPC] fsl_soc: add support for gianfar for fixed-link property Vitaly Bordug
2007-12-06 22:51 ` Vitaly Bordug
2008-01-18 6:46 ` Kumar Gala
2008-01-18 6:46 ` Kumar Gala
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=20071127135952.GA1483@localhost.localdomain \
--to=avorontsov@ru.mvista.com \
--cc=jeff@garzik.org \
--cc=joakim.tjernlund@transmode.se \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=netdev@vger.kernel.org \
/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.