driver replacements for kmalloc and __pa()
Scott Wood
scottwood at freescale.com
Wed Sep 10 08:24:42 EST 2008
Jeff Brower wrote:
> What are the up-to-date APIs we should be using for DMA memory allocation and
> virtual-to-physical address translation? We have another driver for another device
> that's working fine on this board and it uses pci_alloc_consistent(). What about
> bus_space_vaddr()? I'm hoping to get a recommendation for what's currently
> appropriate and most future-proof for drivers that depend on external PCI DMA.
Documentation/DMA-API.txt.
-Scott
More information about the Linuxppc-embedded
mailing list