[PATCH 10/16] IOMMU on Celleb

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Nov 16 10:43:50 EST 2006


On Wed, 2006-11-15 at 18:47 +0900, Ishizaki Kou wrote:

> +	pci_dma_ops.alloc_coherent = celleb_alloc_coherent;
> +	pci_dma_ops.free_coherent = celleb_free_coherent;
> +	pci_dma_ops.map_single = celleb_map_single;
> +	pci_dma_ops.unmap_single = celleb_unmap_single;
> +	pci_dma_ops.map_sg = celleb_map_sg;
> +	pci_dma_ops.unmap_sg = celleb_unmap_sg;
> +	pci_dma_ops.dma_supported = celleb_dma_supported;

You need to adapt that to the new DMA ops mecanism I've implemented for
powerpc, though I suppose I could do the adaptation myself once I get
the HW to test with.

Ben.





More information about the Linuxppc-dev mailing list