]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: Fix DMA offset for non-coherent DMA
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 9 Oct 2008 17:06:24 +0000 (17:06 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 13 Oct 2008 23:35:26 +0000 (10:35 +1100)
commit8aa2659009714cf5f9ffe7f3e16ccfa8ff0e0d61
tree070526522368d43ab8e0332a849474b44c80e980
parent1263965f298af611d4992165242202eb194db1c1
powerpc: Fix DMA offset for non-coherent DMA

After Becky's work we can almost have different DMA offsets
between on-chip devices and PCI. Almost because there's a
problem with the non-coherent DMA code that basically ignores
the programmed offset to use the global one for everything.
This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/dma.c
arch/powerpc/lib/dma-noncoherent.c