From: David Daney Date: Fri, 1 Oct 2010 20:27:32 +0000 (-0700) Subject: MIPS: Convert DMA to use dma-mapping-common.h X-Git-Tag: v2.6.37-rc1~38^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e1fd5a81416a037f5a48120bf281102f2584e2;p=pandora-kernel.git 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 . Signed-off-by: David Daney Patchwork: http://patchwork.linux-mips.org/patch/1637/ Patchwork: http://patchwork.linux-mips.org/patch/1678/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed