summaryrefslogtreecommitdiffstats
path: root/dma/ipe_private.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-02-06 18:39:16 +0100
committerSuren A. Chilingaryan <csa@suren.me>2015-02-06 18:39:16 +0100
commit3531f28654f24d88a3ec47f52a8e93dc9e1febc6 (patch)
tree8ec4faf01d4e6e77e4adac95749a9398ee736ded /dma/ipe_private.h
parentdd2ae62a852cea5be9a98ced55c11f4fdec4cb74 (diff)
downloadpcitool-3531f28654f24d88a3ec47f52a8e93dc9e1febc6.tar.gz
pcitool-3531f28654f24d88a3ec47f52a8e93dc9e1febc6.tar.bz2
pcitool-3531f28654f24d88a3ec47f52a8e93dc9e1febc6.tar.xz
pcitool-3531f28654f24d88a3ec47f52a8e93dc9e1febc6.zip
Use empty_detected flag to reduce timeout
Diffstat (limited to 'dma/ipe_private.h')
-rw-r--r--dma/ipe_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dma/ipe_private.h b/dma/ipe_private.h
index f621716..fd44011 100644
--- a/dma/ipe_private.h
+++ b/dma/ipe_private.h
@@ -12,6 +12,7 @@
//#define IPEDMA_DEBUG
//#define IPEDMA_BUG_DMARD /**< No register read during DMA transfer */
//#define IPEDMA_DETECT_PACKETS /**< Using empty_deceted flag */
+#define IPEDMA_SUPPORT_EMPTY_DETECTED /**< Avoid waiting for data when empty_detected flag is set in hardware */
#define IPEDMA_DMA_TIMEOUT 100000 /**< us, overrides PCILIB_DMA_TIMEOUT (actual hardware timeout is 50ms according to Lorenzo) */
#define IPEDMA_REG_RESET 0x00