git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: rename usb_buffer_alloc() and usb_buffer_free() users
[pandora-kernel.git]
/
Documentation
/
usb
/
dma.txt
diff --git
a/Documentation/usb/dma.txt
b/Documentation/usb/dma.txt
index
cfdcd16
..
a37e59c
100644
(file)
--- a/
Documentation/usb/dma.txt
+++ b/
Documentation/usb/dma.txt
@@
-43,10
+43,10
@@
and effects like cache-trashing can impose subtle penalties.
kind of addresses to store in urb->transfer_buffer and urb->transfer_dma.
You'd also set URB_NO_TRANSFER_DMA_MAP in urb->transfer_flags:
kind of addresses to store in urb->transfer_buffer and urb->transfer_dma.
You'd also set URB_NO_TRANSFER_DMA_MAP in urb->transfer_flags:
- void *usb_
buffer_alloc
(struct usb_device *dev, size_t size,
+ void *usb_
alloc_coherent
(struct usb_device *dev, size_t size,
int mem_flags, dma_addr_t *dma);
int mem_flags, dma_addr_t *dma);
- void usb_
buffer_free
(struct usb_device *dev, size_t size,
+ void usb_
free_coherent
(struct usb_device *dev, size_t size,
void *addr, dma_addr_t dma);
Most drivers should *NOT* be using these primitives; they don't need
void *addr, dma_addr_t dma);
Most drivers should *NOT* be using these primitives; they don't need