diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-02-02 21:49:58 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-02-06 12:12:18 -0500 |
commit | d4c56f97ff21df405d0cebe11f49e3c3c79662b5 (patch) | |
tree | e6b0de433d7c985982ac12815998242a786d87b2 /drivers/dma/ioat_dma.c | |
parent | 0036731c88fdb5bf4f04a796a30b5e445fc57f54 (diff) |
async_tx: replace 'int_en' with operation preparation flags
Pass a full set of flags to drivers' per-operation 'prep' routines.
Currently the only flag passed is DMA_PREP_INTERRUPT. The expectation is
that arch-specific async_tx_find_channel() implementations can exploit this
capability to find the best channel for an operation.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Reviewed-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'drivers/dma/ioat_dma.c')
-rw-r--r-- | drivers/dma/ioat_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/ioat_dma.c b/drivers/dma/ioat_dma.c index 5bcfc55a2776..dff38accc5c1 100644 --- a/drivers/dma/ioat_dma.c +++ b/drivers/dma/ioat_dma.c | |||
@@ -701,7 +701,7 @@ static struct dma_async_tx_descriptor *ioat1_dma_prep_memcpy( | |||
701 | dma_addr_t dma_dest, | 701 | dma_addr_t dma_dest, |
702 | dma_addr_t dma_src, | 702 | dma_addr_t dma_src, |
703 | size_t len, | 703 | size_t len, |
704 | int int_en) | 704 | unsigned long flags) |
705 | { | 705 | { |
706 | struct ioat_dma_chan *ioat_chan = to_ioat_chan(chan); | 706 | struct ioat_dma_chan *ioat_chan = to_ioat_chan(chan); |
707 | struct ioat_desc_sw *new; | 707 | struct ioat_desc_sw *new; |
@@ -724,7 +724,7 @@ static struct dma_async_tx_descriptor *ioat2_dma_prep_memcpy( | |||
724 | dma_addr_t dma_dest, | 724 | dma_addr_t dma_dest, |
725 | dma_addr_t dma_src, | 725 | dma_addr_t dma_src, |
726 | size_t len, | 726 | size_t len, |
727 | int int_en) | 727 | unsigned long flags) |
728 | { | 728 | { |
729 | struct ioat_dma_chan *ioat_chan = to_ioat_chan(chan); | 729 | struct ioat_dma_chan *ioat_chan = to_ioat_chan(chan); |
730 | struct ioat_desc_sw *new; | 730 | struct ioat_desc_sw *new; |