summaryrefslogtreecommitdiffstats
path: root/dma/nwl_dma.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-14 01:44:10 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-07-14 01:44:10 +0200
commitb492b1aac3d12683ccbc973b08b023ba0466cbec (patch)
tree09f6d3d0cc3725b62a5c9210220e14316b737622 /dma/nwl_dma.h
parent9f17f71885344d93b16fdc17458aa28ba350a480 (diff)
downloadipecamera-b492b1aac3d12683ccbc973b08b023ba0466cbec.tar.gz
ipecamera-b492b1aac3d12683ccbc973b08b023ba0466cbec.tar.bz2
ipecamera-b492b1aac3d12683ccbc973b08b023ba0466cbec.tar.xz
ipecamera-b492b1aac3d12683ccbc973b08b023ba0466cbec.zip
Support modifications of DMA engine and allow DMA customizations by Event engine
Diffstat (limited to 'dma/nwl_dma.h')
-rw-r--r--dma/nwl_dma.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dma/nwl_dma.h b/dma/nwl_dma.h
index 883dc29..bdb3df0 100644
--- a/dma/nwl_dma.h
+++ b/dma/nwl_dma.h
@@ -4,7 +4,9 @@
#include <stdio.h>
#include "pcilib.h"
-pcilib_dma_context_t *dma_nwl_init(pcilib_t *ctx);
+#define PCILIB_NWL_MODIFICATION_IPECAMERA 0x100
+
+pcilib_dma_context_t *dma_nwl_init(pcilib_t *ctx, pcilib_dma_modification_t type, void *arg);
void dma_nwl_free(pcilib_dma_context_t *vctx);
int dma_nwl_enable_irq(pcilib_dma_context_t *vctx, pcilib_irq_type_t type, pcilib_dma_flags_t flags);