]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
update
authorhadaq <hadaq>
Sun, 8 Jan 2012 23:06:44 +0000 (23:06 +0000)
committerhadaq <hadaq>
Sun, 8 Jan 2012 23:06:44 +0000 (23:06 +0000)
pexor/kernel-module/pexor_user.h

index 98e9e6888a8f8604d5fc60c1414ae38f602330bd..67579ef0888e6a563d78a704d35e588be87a0582 100644 (file)
@@ -14,7 +14,7 @@
 
 /* ---------------------------------------------------------------------- */
 
-#define DMA_BUFFER_NUM_PAGES (16 * 1024 * 1024)
+#define DMA_BUFFER_NUM_PAGES 4096  /* 16 Mbyte in case PAGE_SIZE == 4096 */
 
 #define PEXOR_TRBNETCOM_REG_WRITE          0 
 #define PEXOR_TRBNETCOM_REG_WRITE_MEM      1