[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PPC32: Fix the floppy driver, on CONFIG_NOT_COHERENT_CACHE.


On Fri, 2 Jan 2004, Linux Kernel Mailing List wrote:
> ChangeSet 1.1356.1.2, 2004/01/02 08:51:54-07:00, trini _at_ kernel.crashing.org
>
> 	PPC32: Fix the floppy driver, on CONFIG_NOT_COHERENT_CACHE.
> 	From David Mueller <d.mueller _at_ 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?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert _at_ linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: