diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-11-24 12:24:43 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-11-24 12:24:43 +0100 |
commit | 39c23788696c7f1ff76687bfeac376a919138844 (patch) | |
tree | 19050b7d3d56f375edfeda4471baafe5f3c1caa8 /dma | |
parent | 1cec8390c4e4e4a98e14bbe5a3f6d8826c890c8c (diff) | |
download | pcitool-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
Diffstat (limited to 'dma')
-rw-r--r-- | dma/ipe.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) */ |