X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=Documentation%2FDMA-API.txt;h=805db4b2cba65b65bd966f054c71ca13427f9287;hb=0fbbeba2427a842a1a4ac9f379ca2ca37ea907eb;hp=8621a064f7e135d0f6c26b5897de5c4efb1c0924;hpb=e18b890bb0881bbab6f4f1a6cd20d9c60d66b003;p=powerpc.git diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt index 8621a064f7..805db4b2cb 100644 --- a/Documentation/DMA-API.txt +++ b/Documentation/DMA-API.txt @@ -431,10 +431,10 @@ be identical to those passed in (and returned by dma_alloc_noncoherent()). int -dma_is_consistent(dma_addr_t dma_handle) +dma_is_consistent(struct device *dev, dma_addr_t dma_handle) -returns true if the memory pointed to by the dma_handle is actually -consistent. +returns true if the device dev is performing consistent DMA on the memory +area pointed to by the dma_handle. int dma_get_cache_alignment(void) @@ -459,7 +459,7 @@ anything like this. You must also be extra careful about accessing memory you intend to sync partially. void -dma_cache_sync(void *vaddr, size_t size, +dma_cache_sync(struct device *dev, void *vaddr, size_t size, enum dma_data_direction direction) Do a partial sync of memory that was allocated by