On Fri, May 14, 2010 at 10:51:35PM +0200, Leon Woestenberg wrote: ... > Thanks for the clarifications. I should have found out myself, it's > just that DMA-mapping.txt and DMA-API.txt seem to partly overlap and > partly complement eachother. That's correct. DMA-mapping.txt is PCI specific, doesn't support non-coherent (DMA is not coherent with CPU caches), and was introduced in with 2.4 kernel series. DMA-API.txt is bus agnostic, can support non-coherent systems, and was introduced with 2.6 kernels. Given this is a PCI device and most machines are cache-coherent, it's usually fine to just comply with DMA-mapping.txt. hth, grant -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html