[MIPS] Unify dma-{coherent,noncoherent.ip27,ip32}
commit9a88cbb5227970757881b1a65be01dea61fe2584
authorRalf Baechle <ralf@linux-mips.org>
Thu, 16 Nov 2006 02:56:12 +0000 (16 02:56 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 13 Feb 2007 22:40:50 +0000 (13 22:40 +0000)
tree2a1e6934ae253e75141efd383ae9df7042452d7c
parentf65e4fa8e0c6022ad58dc88d1b11b12589ed7f9f
[MIPS] Unify dma-{coherent,noncoherent.ip27,ip32}

Platforms will now have to supply a function dma_device_is_coherent which
returns if a particular device participates in the coherence domain.  For
most platforms this function will always return 0 or 1.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
13 files changed:
arch/mips/Kconfig
arch/mips/mm/Makefile
arch/mips/mm/dma-coherent.c [deleted file]
arch/mips/mm/dma-default.c [moved from arch/mips/mm/dma-noncoherent.c with 63% similarity]
arch/mips/mm/dma-ip27.c [deleted file]
arch/mips/mm/dma-ip32.c [deleted file]
arch/mips/pci/Makefile
arch/mips/pci/pci-dac.c [new file with mode: 0644]
include/asm-mips/mach-generic/dma-coherence.h [new file with mode: 0644]
include/asm-mips/mach-generic/kmalloc.h
include/asm-mips/mach-ip27/dma-coherence.h [new file with mode: 0644]
include/asm-mips/mach-ip32/dma-coherence.h [new file with mode: 0644]
include/asm-mips/mach-jazz/dma-coherence.h [new file with mode: 0644]