public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: David Mueller <d.mueller@elsoft.ch>,
	Linux/PPC Development <linuxppc-dev@lists.linuxppc.org>,
	Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Re: PPC32: Fix the floppy driver, on CONFIG_NOT_COHERENT_CACHE.
Date: Mon, 5 Jan 2004 08:41:47 -0700	[thread overview]
Message-ID: <20040105154146.GB2415@stop.crashing.org> (raw)
In-Reply-To: <Pine.GSO.4.58.0401051504050.3740@waterleaf.sonytel.be>

On Mon, Jan 05, 2004 at 03:04:47PM +0100, Geert Uytterhoeven wrote:
> On Fri, 2 Jan 2004, Linux Kernel Mailing List wrote:
> > ChangeSet 1.1356.1.2, 2004/01/02 08:51:54-07:00, trini@kernel.crashing.org
> >
> > 	PPC32: Fix the floppy driver, on CONFIG_NOT_COHERENT_CACHE.
> > 	From David Mueller <d.mueller@elsoft.ch>.
> >
> >
> > # This patch includes the following deltas:
> > #	           ChangeSet	1.1356.1.1 -> 1.1356.1.2
> > #	include/asm-ppc/floppy.h	1.5     -> 1.6
> > #
> >
> >  floppy.h |    6 +++++-
> >  1 files changed, 5 insertions(+), 1 deletion(-)
> >
> >
> > diff -Nru a/include/asm-ppc/floppy.h b/include/asm-ppc/floppy.h
> > --- a/include/asm-ppc/floppy.h	Sat Jan  3 12:02:06 2004
> > +++ b/include/asm-ppc/floppy.h	Sat Jan  3 12:02:06 2004
> > @@ -12,7 +12,7 @@
> >  #define __ASM_PPC_FLOPPY_H
> >
> >  #define fd_inb(port)			inb_p(port)
> > -#define fd_outb(port,value)		outb_p(port,value)
> > +#define fd_outb(value,port)		outb_p(value,port)
> >
> >  #define fd_enable_dma()         enable_dma(FLOPPY_DMA)
> >  #define fd_disable_dma()        disable_dma(FLOPPY_DMA)
> > @@ -24,7 +24,11 @@
> >  #define fd_set_dma_count(count) set_dma_count(FLOPPY_DMA,count)
> >  #define fd_enable_irq()         enable_irq(FLOPPY_IRQ)
> >  #define fd_disable_irq()        disable_irq(FLOPPY_IRQ)
> > +#if CONFIG_NOT_COHERENT_CACHE
>    ^^^
> Shouldn't this be #ifdef?

Yes, but I don't believe that any gcc that you're supposed to use on 2.4
complains about that...

... not a good way to start a week. :)

-- 
Tom Rini
http://gate.crashing.org/~trini/

  reply	other threads:[~2004-01-05 15:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200401032002.i03K25Y9024335@hera.kernel.org>
2004-01-05 14:04 ` PPC32: Fix the floppy driver, on CONFIG_NOT_COHERENT_CACHE Geert Uytterhoeven
2004-01-05 15:41   ` Tom Rini [this message]
2004-01-05 16:07   ` Andreas Schwab
2004-01-05 17:04     ` #ifdef usage (was " Valdis.Kletnieks

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=20040105154146.GB2415@stop.crashing.org \
    --to=trini@kernel.crashing.org \
    --cc=d.mueller@elsoft.ch \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.linuxppc.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