summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-11-24 12:24:43 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-11-24 12:24:43 +0100
commit39c23788696c7f1ff76687bfeac376a919138844 (patch)
tree19050b7d3d56f375edfeda4471baafe5f3c1caa8
parent1cec8390c4e4e4a98e14bbe5a3f6d8826c890c8c (diff)
downloadpcitool-39c23788696c7f1ff76687bfeac376a919138844.tar.gz
pcitool-39c23788696c7f1ff76687bfeac376a919138844.tar.bz2
pcitool-39c23788696c7f1ff76687bfeac376a919138844.tar.xz
pcitool-39c23788696c7f1ff76687bfeac376a919138844.zip
Reduce number of DMA pages used by IPEDMA engine to address current hardware limit of 1023
-rw-r--r--dma/ipe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dma/ipe.h b/dma/ipe.h
index 2cd045d..849aa9d 100644
--- a/dma/ipe.h
+++ b/dma/ipe.h
@@ -6,7 +6,7 @@
#include "version.h"
#define IPEDMA_PAGE_SIZE 4096l /**< page size */
-#define IPEDMA_DMA_PAGES 1024l /**< number of DMA pages in the ring buffer to allocate */
+#define IPEDMA_DMA_PAGES 512l /**< number of DMA pages in the ring buffer to allocate */
#define IPEDMA_DMA_TIMEOUT 100000l /**< us, overrides PCILIB_DMA_TIMEOUT (actual hardware timeout is 50ms according to Lorenzo) */