From: Vitaly Bordug <vitb@kernel.crashing.org>
To: Kim Phillips <kim.phillips@freescale.com>
Cc: linuxppc-dev@ozlabs.org, Jeff Garzik <jeff@garzik.org>
Subject: Re: [PATCH 1/2] [POWERPC] Add support of platforms without PHY to gianfar driver
Date: Sat, 28 Jul 2007 03:10:35 +0400 [thread overview]
Message-ID: <20070728031035.068972ae@localhost.localdomain> (raw)
In-Reply-To: <20070726190417.de30bed6.kim.phillips@freescale.com>
On Thu, 26 Jul 2007 19:04:17 -0500
Kim Phillips wrote:
> On Wed, 25 Jul 2007 21:43:12 +0400
> Vitaly Bordug <vitb@kernel.crashing.org> wrote:
>
> >
> > Gianfar driver is now able to work without real phy subnode,
> > that is necessary to cope with fixed-link situation, when
> > SoC is connected to the Ethernet inteface or embedded switch
> > without any PHY. In this case, fixed-speed property will
> > describe such a situation for gianfar driver.
> >
> > The property is in form <duplexity speed>
> >
> > Signed-off-by: Vitaly Bordug <vitb@kernel.crashing.org>
> >
> > ---
> >
> > arch/powerpc/sysdev/fsl_soc.c | 39
> > +++++++++++++++++++++++----------------
> > drivers/net/gianfar.c | 17 ++++++++++++++---
>
> please run this through checkpatch.pl until it passes.
>
> <snip>
> > + bus_id = of_get_property(np,
> > "fixed_speed",NULL);
>
> hyphens are preferred for new properties. Plus, isn't fixed-link a
> better name? unless you instead want to put speed first and make
> duplexity an optional second, or possibly even a string.
>
> Also, can we get this new property documented in b-w-of in a separate
> patch?
>
yes, fixed-link is better name.
I'll redo the patch, thx
> Kim
--
Sincerely, Vitaly
prev parent reply other threads:[~2007-07-27 23:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-25 17:43 [PATCH 1/2] [POWERPC] Add support of platforms without PHY to gianfar driver Vitaly Bordug
2007-07-25 17:43 ` [PATCH 2/2] [POWERPC] Remove dummy network phy from MPC8313E-RDB Vitaly Bordug
2007-07-25 21:21 ` [PATCH 1/2] [POWERPC] Add support of platforms without PHY to gianfar driver Jeff Garzik
2007-07-27 4:16 ` Kumar Gala
2007-07-27 0:04 ` Kim Phillips
2007-07-27 23:10 ` Vitaly Bordug [this message]
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=20070728031035.068972ae@localhost.localdomain \
--to=vitb@kernel.crashing.org \
--cc=jeff@garzik.org \
--cc=kim.phillips@freescale.com \
--cc=linuxppc-dev@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).