summaryrefslogtreecommitdiffstats
path: root/pcilib/pcilib.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-11-20 14:24:17 +0100
committerSuren A. Chilingaryan <csa@suren.me>2015-11-20 14:24:17 +0100
commitcc5107c6d3db46ba213db974c630fc0fa1b89d68 (patch)
tree6c16375da1d5c7c5d4d853c5e0ba7775bbc99c8a /pcilib/pcilib.h
parent517ecf828e60e1e364c3ab6e67c2acd8a3c1b0c1 (diff)
downloadpcitool-cc5107c6d3db46ba213db974c630fc0fa1b89d68.tar.gz
pcitool-cc5107c6d3db46ba213db974c630fc0fa1b89d68.tar.bz2
pcitool-cc5107c6d3db46ba213db974c630fc0fa1b89d68.tar.xz
pcitool-cc5107c6d3db46ba213db974c630fc0fa1b89d68.zip
Configure number of DMA buffers in IPEDMA and improve checking and reporting inconsistent kmem buffers while re-using
Diffstat (limited to 'pcilib/pcilib.h')
-rw-r--r--pcilib/pcilib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcilib/pcilib.h b/pcilib/pcilib.h
index fbab883..cfe3e96 100644
--- a/pcilib/pcilib.h
+++ b/pcilib/pcilib.h
@@ -86,7 +86,8 @@ typedef enum {
PCILIB_DMA_FLAG_WAIT = 2, /**< wait completion of write operation / wait for data during read operation */
PCILIB_DMA_FLAG_MULTIPACKET = 4, /**< read multiple packets */
PCILIB_DMA_FLAG_PERSISTENT = 8, /**< do not stop DMA engine on application termination / permanently close DMA engine on dma_stop */
- PCILIB_DMA_FLAG_IGNORE_ERRORS = 16 /**< do not crash on errors, but return appropriate error codes */
+ PCILIB_DMA_FLAG_IGNORE_ERRORS = 16, /**< do not crash on errors, but return appropriate error codes */
+ PCILIB_DMA_FLAG_STOP = 32 /**< indicates that we actually calling pcilib_dma_start to stop persistent DMA engine */
} pcilib_dma_flags_t;
typedef enum {