linux-mips
[Top] [All Lists]

Re: include/asm-mips/pci.h fix

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: include/asm-mips/pci.h fix
From: Ralf Baechle <ralf@linux-mips.org>
Date: Mon, 15 Aug 2005 15:59:57 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20050805.225805.25908929.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050805.225805.25908929.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Fri, Aug 05, 2005 at 10:58:05PM +0900, Atsushi Nemoto wrote:

> Currently pci_unmap_addr(), etc. are always defined as nop.  It should
> be defined when pci_unmap_single is not a nop.  Here is a patch.
> 
> diff -ur linux-mips/include/asm-mips/pci.h linux/include/asm-mips/pci.h
> --- linux-mips/include/asm-mips/pci.h 2005-07-26 22:14:07.000000000 +0900
> +++ linux/include/asm-mips/pci.h      2005-08-05 22:33:14.000000000 +0900
> @@ -94,7 +94,7 @@
>   */
>  extern unsigned int PCI_DMA_BUS_IS_PHYS;
>  
> -#ifdef CONFIG_MAPPED_DMA_IO

Almost correct, this be enabled for any variant of non-coherent DMA, so
I'm going to checkin a different patch.

Thanks,

  Ralf

<Prev in Thread] Current Thread [Next in Thread>