summaryrefslogtreecommitdiffstats
path: root/dma/ipe_private.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-02-06 17:35:26 +0100
committerSuren A. Chilingaryan <csa@suren.me>2015-02-06 17:35:26 +0100
commitdd2ae62a852cea5be9a98ced55c11f4fdec4cb74 (patch)
tree52f2696a3cae1af0b3db687f71fb25018f21389e /dma/ipe_private.h
parentd6c875d6261634e0c6f350faa942ccebbd106ed1 (diff)
downloadpcitool-dd2ae62a852cea5be9a98ced55c11f4fdec4cb74.tar.gz
pcitool-dd2ae62a852cea5be9a98ced55c11f4fdec4cb74.tar.bz2
pcitool-dd2ae62a852cea5be9a98ced55c11f4fdec4cb74.tar.xz
pcitool-dd2ae62a852cea5be9a98ced55c11f4fdec4cb74.zip
Increase DMA timeout to 100ms for ipedma
Diffstat (limited to 'dma/ipe_private.h')
-rw-r--r--dma/ipe_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dma/ipe_private.h b/dma/ipe_private.h
index 3a00884..f621716 100644
--- a/dma/ipe_private.h
+++ b/dma/ipe_private.h
@@ -12,7 +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_DMA_TIMEOUT PCILIB_DMA_TIMEOUT /**< us, overrides PCILIB_DMA_TIMEOUT */
+#define IPEDMA_DMA_TIMEOUT 100000 /**< us, overrides PCILIB_DMA_TIMEOUT (actual hardware timeout is 50ms according to Lorenzo) */
#define IPEDMA_REG_RESET 0x00
#define IPEDMA_REG_CONTROL 0x04