1
0
Fork 0
alistair23-linux/drivers/dma
Dan Williams 636bdeaa12 dmaengine: ack to flags: make use of the unused bits in the 'ack' field
'ack' is currently a simple integer that flags whether or not a client is done
touching fields in the given descriptor.  It is effectively just a single bit
of information.  Converting this to a flags parameter allows the other bits to
be put to use to control completion actions, like dma-unmap, and capture
results, like xor-zero-sum == 0.

Changes are one of:
1/ convert all open-coded ->ack manipulations to use async_tx_ack
   and async_tx_test_ack.
2/ set the ack bit at prep time where possible
3/ make drivers store the flags at prep time
4/ add flags to the device_prep_dma_interrupt prototype

Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2008-04-17 13:25:54 -07:00
..
Kconfig fsldma: Remove CONFIG_FSL_DMA_SELFTEST, keep fsl_dma_self_test() running always. 2008-04-17 13:22:15 -07:00
Makefile dmaengine: add driver for Freescale MPC85xx DMA controller 2008-03-04 10:16:46 -07:00
dmaengine.c dmaengine: ack to flags: make use of the unused bits in the 'ack' field 2008-04-17 13:25:54 -07:00
fsldma.c dmaengine: ack to flags: make use of the unused bits in the 'ack' field 2008-04-17 13:25:54 -07:00
fsldma.h fix the broken annotations in fsldma 2008-03-30 14:20:24 -07:00
ioat.c I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioat_dca.c ioat_dca __iomem annotations 2008-03-30 14:18:41 -07:00
ioat_dma.c dmaengine: ack to flags: make use of the unused bits in the 'ack' field 2008-04-17 13:25:54 -07:00
ioatdma.h I/OAT: fixups from code comments 2007-12-17 19:28:17 -08:00
ioatdma_hw.h I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
ioatdma_registers.h I/OAT: Add support for version 2 of ioatdma device 2007-11-14 18:45:41 -08:00
iop-adma.c dmaengine: ack to flags: make use of the unused bits in the 'ack' field 2008-04-17 13:25:54 -07:00
iovlock.c [NET_DMA]: remove unused dma_memcpy_to_kernel_iovec 2007-07-31 02:28:03 -07:00