aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2012-04-04 19:10:46 -0400
committerDan Williams <dan.j.williams@intel.com>2012-04-05 18:27:12 -0400
commita2bd1140a264b561e38d99e656cd843c2d840e86 (patch)
tree9c9f19dde5c0213a52de0e77c16059062cc6c8a1 /include/linux/dmaengine.h
parentf26df1a1a9452573af7b6cea9a4723593e838568 (diff)
netdma: adding alignment check for NETDMA ops
This is the fallout from adding memcpy alignment workaround for certain IOATDMA hardware. NetDMA will only use DMA engine that can handle byte align ops. Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 679b349d9b66..a5bb3ad5c7a5 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -948,6 +948,7 @@ int dma_async_device_register(struct dma_device *device);
948void dma_async_device_unregister(struct dma_device *device); 948void dma_async_device_unregister(struct dma_device *device);
949void dma_run_dependencies(struct dma_async_tx_descriptor *tx); 949void dma_run_dependencies(struct dma_async_tx_descriptor *tx);
950struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type); 950struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type);
951struct dma_chan *net_dma_find_channel(void);
951#define dma_request_channel(mask, x, y) __dma_request_channel(&(mask), x, y) 952#define dma_request_channel(mask, x, y) __dma_request_channel(&(mask), x, y)
952 953
953/* --- Helper iov-locking functions --- */ 954/* --- Helper iov-locking functions --- */