From 2b682e540c5e6c104ab873602df028ba587c5fd9 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Wed, 10 Mar 2010 15:23:15 -0800 Subject: [PATCH] --- yaml --- r: 187265 b: refs/heads/master c: 039956e9199b71ea673954e025f52f319110ca58 h: refs/heads/master i: 187263: 9811b995962abb5c402b3cc9cc57345ba1e78456 v: v3 --- [refs] | 2 +- trunk/Documentation/DMA-API.txt | 28 ---------------------------- 2 files changed, 1 insertion(+), 29 deletions(-) diff --git a/[refs] b/[refs] index d269d695bfe1..ab303652cef8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8004fd2ad6042ae24d3913cf5089909781db3a25 +refs/heads/master: 039956e9199b71ea673954e025f52f319110ca58 diff --git a/trunk/Documentation/DMA-API.txt b/trunk/Documentation/DMA-API.txt index 5aceb88b3f8b..bb0e75e368b2 100644 --- a/trunk/Documentation/DMA-API.txt +++ b/trunk/Documentation/DMA-API.txt @@ -364,34 +364,6 @@ API. Note: must be the number you passed in, *not* the number of physical entries returned. -void -dma_sync_single(struct device *dev, dma_addr_t dma_handle, size_t size, - enum dma_data_direction direction) -void -pci_dma_sync_single(struct pci_dev *hwdev, dma_addr_t dma_handle, - size_t size, int direction) -void -dma_sync_sg(struct device *dev, struct scatterlist *sg, int nelems, - enum dma_data_direction direction) -void -pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, - int nelems, int direction) - -Synchronise a single contiguous or scatter/gather mapping. All the -parameters must be the same as those passed into the single mapping -API. - -Notes: You must do this: - -- Before reading values that have been written by DMA from the device - (use the DMA_FROM_DEVICE direction) -- After writing values that will be written to the device using DMA - (use the DMA_TO_DEVICE) direction -- before *and* after handing memory to the device if the memory is - DMA_BIDIRECTIONAL - -See also dma_map_single(). - dma_addr_t dma_map_single_attrs(struct device *dev, void *cpu_addr, size_t size, enum dma_data_direction dir,