linux-sg2042/arch/mips/include/asm/mach-ip27
David Daney 48e1fd5a81 MIPS: Convert DMA to use dma-mapping-common.h
Use asm-generic/dma-mapping-common.h to handle all DMA mapping operations
and establish a default get_dma_ops() that forwards all operations to the
existing code.

Augment dev_archdata to carry a pointer to the struct dma_map_ops, allowing
DMA operations to be overridden on a per device basis.  Currently this is
never filled in, so the default dma_map_ops are used.  A follow-on patch
sets this for Octeon PCI devices.

Also initialize the dma_debug system as it is now used if it is configured.

Includes fixes by Kevin Cernekee <cernekee@gmail.com>.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1637/
Patchwork: http://patchwork.linux-mips.org/patch/1678/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-10-29 19:08:31 +01:00
..
cpu-feature-overrides.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
dma-coherence.h MIPS: Convert DMA to use dma-mapping-common.h 2010-10-29 19:08:31 +01:00
irq.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
kernel-entry-init.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
kmalloc.h dma-mapping: rename ARCH_KMALLOC_MINALIGN to ARCH_DMA_MINALIGN 2010-08-11 08:59:21 -07:00
mangle-port.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
mmzone.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
spaces.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00
topology.h MIPS: cpumask_of_node() should handle -1 as a node 2010-01-12 18:19:37 +01:00
war.h MIPS: Move headfiles to new location below arch/mips/include 2008-10-11 16:18:52 +01:00