diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-03-10 18:23:15 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 18:52:40 -0500 |
commit | 039956e9199b71ea673954e025f52f319110ca58 (patch) | |
tree | e900f3713078d32f2e03939a2d2722503e97090f /Documentation | |
parent | 8004fd2ad6042ae24d3913cf5089909781db3a25 (diff) |
Documentation/DMA-API.txt: remove deprecated function descriptions
dma_sync_single(), pci_dma_sync_single(), dma_sync_sg(), and
pci_dma_sync_sg() are deprecated. We should not advertise them.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Joerg Roedel <joro@8bytes.org>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DMA-API.txt | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt index 5aceb88b3f8b..bb0e75e368b2 100644 --- a/Documentation/DMA-API.txt +++ b/Documentation/DMA-API.txt | |||
@@ -364,34 +364,6 @@ API. | |||
364 | Note: <nents> must be the number you passed in, *not* the number of | 364 | Note: <nents> must be the number you passed in, *not* the number of |
365 | physical entries returned. | 365 | physical entries returned. |
366 | 366 | ||
367 | void | ||
368 | dma_sync_single(struct device *dev, dma_addr_t dma_handle, size_t size, | ||
369 | enum dma_data_direction direction) | ||
370 | void | ||
371 | pci_dma_sync_single(struct pci_dev *hwdev, dma_addr_t dma_handle, | ||
372 | size_t size, int direction) | ||
373 | void | ||
374 | dma_sync_sg(struct device *dev, struct scatterlist *sg, int nelems, | ||
375 | enum dma_data_direction direction) | ||
376 | void | ||
377 | pci_dma_sync_sg(struct pci_dev *hwdev, struct scatterlist *sg, | ||
378 | int nelems, int direction) | ||
379 | |||
380 | Synchronise a single contiguous or scatter/gather mapping. All the | ||
381 | parameters must be the same as those passed into the single mapping | ||
382 | API. | ||
383 | |||
384 | Notes: You must do this: | ||
385 | |||
386 | - Before reading values that have been written by DMA from the device | ||
387 | (use the DMA_FROM_DEVICE direction) | ||
388 | - After writing values that will be written to the device using DMA | ||
389 | (use the DMA_TO_DEVICE) direction | ||
390 | - before *and* after handing memory to the device if the memory is | ||
391 | DMA_BIDIRECTIONAL | ||
392 | |||
393 | See also dma_map_single(). | ||
394 | |||
395 | dma_addr_t | 367 | dma_addr_t |
396 | dma_map_single_attrs(struct device *dev, void *cpu_addr, size_t size, | 368 | dma_map_single_attrs(struct device *dev, void *cpu_addr, size_t size, |
397 | enum dma_data_direction dir, | 369 | enum dma_data_direction dir, |