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

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

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux