SUPERH platform development
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 2/3] sh: sh7724: Add USBHS DMAEngine support
Date: Wed, 15 Jun 2011 07:16:05 +0000	[thread overview]
Message-ID: <20110615071603.GP17891@linux-sh.org> (raw)
In-Reply-To: <w3pk4cn62zn.wl%kuninori.morimoto.gx@renesas.com>

On Wed, Jun 15, 2011 at 09:01:02AM +0200, Guennadi Liakhovetski wrote:
> On Wed, 15 Jun 2011, Kuninori Morimoto wrote:
> 
> > Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> > ---
> >  arch/sh/include/cpu-sh4/cpu/sh7724.h   |    8 ++++++
> >  arch/sh/kernel/cpu/sh4a/setup-sh7724.c |   40 ++++++++++++++++++++++++++++++++
> >  2 files changed, 48 insertions(+), 0 deletions(-)
> > 
> > diff --git a/arch/sh/include/cpu-sh4/cpu/sh7724.h b/arch/sh/include/cpu-sh4/cpu/sh7724.h
> > index 3daef8e..cbc47e6 100644
> > --- a/arch/sh/include/cpu-sh4/cpu/sh7724.h
> > +++ b/arch/sh/include/cpu-sh4/cpu/sh7724.h
> > @@ -298,6 +298,14 @@ enum {
> >  	SHDMA_SLAVE_SCIF4_RX,
> >  	SHDMA_SLAVE_SCIF5_TX,
> >  	SHDMA_SLAVE_SCIF5_RX,
> > +	SHDMA_SLAVE_USB0D0_TX,
> > +	SHDMA_SLAVE_USB0D0_RX,
> > +	SHDMA_SLAVE_USB0D1_TX,
> > +	SHDMA_SLAVE_USB0D1_RX,
> > +	SHDMA_SLAVE_USB1D0_TX,
> > +	SHDMA_SLAVE_USB1D0_RX,
> > +	SHDMA_SLAVE_USB1D1_TX,
> > +	SHDMA_SLAVE_USB1D1_RX,
> >  	SHDMA_SLAVE_SDHI0_TX,
> >  	SHDMA_SLAVE_SDHI0_RX,
> >  	SHDMA_SLAVE_SDHI1_TX,
> 
> Any specific reason to add your IDs in the middle? Between IDs for another 
> controller type?
> 
While it doesn't really matter in this case, I much prefer people to do
this than to constantly add them at the end. The issue is that if I have
two patches that both append to the end of the list in two different
branches with two different dependencies I'll almost certainly have to spend
time fixing them up by hand rather than having git take care of it for
me.

Much for the same reason that it's generally frowned upon for people to
arbitrarily add new drivers at the end of a given Makefile.

  parent reply	other threads:[~2011-06-15  7:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15  6:08 [PATCH 2/3] sh: sh7724: Add USBHS DMAEngine support Kuninori Morimoto
2011-06-15  7:01 ` Guennadi Liakhovetski
2011-06-15  7:16 ` Paul Mundt [this message]
2011-06-15  7:31 ` Kuninori Morimoto

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=20110615071603.GP17891@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox