[POWERPC] Set archdata.dma_data for direct DMA in cell_dma_dev_setup()
commit110f95c9f082709c5a28a64c00bae819916e8578
authorMichael Ellerman <michael@ellerman.id.au>
Mon, 21 Jan 2008 05:42:41 +0000 (21 16:42 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 25 Jan 2008 11:52:53 +0000 (25 22:52 +1100)
treed3f4c888ddc4a7549c368a925364ade23b95b223
parent9d5f49283b85d925f17fa07af5e4879465e179d6
[POWERPC] Set archdata.dma_data for direct DMA in cell_dma_dev_setup()

Store the direct_dma_offset in each device's dma_data in the case
where we're using the direct DMA ops.

We need to make sure we setup the ppc_md.pci_dma_dev_setup() callback
if we're using a non-zero offset.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/iommu.c