]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Add an optional offset to direct DMA on 64 bits
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 11 Nov 2006 06:25:14 +0000 (17:25 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:38:57 +0000 (20:38 +1100)
commit29d4956553df0e80bba06a6be68cddd6cf0edab6
tree937e98acbbc3db12c8ed99c4499794d39287f98f
parent51c50db44eef33b749877524d69969de8532df12
[POWERPC] Add an optional offset to direct DMA on 64 bits

This patch adds an optional global offset that can be added to DMA addresses
when using the direct DMA operations.

That brings it a step closer to the 32 bits direct DMA operations, and makes
it useable on Cell when the MMU is disabled and we are using a spider
southbridge.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/dma_64.c
include/asm-powerpc/dma-mapping.h