summaryrefslogtreecommitdiff
path: root/arch/sh/kernel/dma-nommu.c
Commit message (Collapse)AuthorAgeFilesLines
* SH: adapt for dma_map_ops changesAndrzej Pietrasiewicz2012-03-281-2/+2
| | | | | | | | | | | Adapt core SH architecture code for dma_map_ops changes: replace alloc/free_coherent with generic alloc/free methods. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Paul Mundt <lethal@linux-sh.org>
* sh: Revamp PCI DMA coherence Kconfig bits.Paul Mundt2009-10-271-0/+4
| | | | | | | | | Leaving this configurable caused more trouble than it was ever worth, so just make it explicit. Boards that are verified one way or the other can fix up their selects accordingly. We presently default to non-coherent for most platforms. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Add dma-mapping support for dma_alloc/free_coherent() overrides.Paul Mundt2009-10-261-0/+2
| | | | | | | | This moves the current dma_alloc/free_coherent() calls to a generic variant and plugs them in for the nommu default. Other variants can override the defaults in the dma mapping ops directly. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
* sh: Convert to asm-generic/dma-mapping-common.hPaul Mundt2009-10-201-0/+76
This converts the old DMA mapping support to the new generic dma-mapping-common.h abstraction. Signed-off-by: Paul Mundt <lethal@linux-sh.org>