virt_to_bus and DMA

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Dec 22 08:18:55 EST 2006


> 
> 
> Am I also correct in saying the "standard DMA API" (request_dma, 
> set_dma_addr etc) is NOT available on the 4xx?

The standard DMA mapping API is: dma_map_* and that's what you should be
using.

At one point, virt_to_bus() will be removed and use of __pa in drivers
is highly discouraged.

Ben.






More information about the Linuxppc-embedded mailing list