From b492b1aac3d12683ccbc973b08b023ba0466cbec Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 14 Jul 2011 01:44:10 +0200 Subject: Support modifications of DMA engine and allow DMA customizations by Event engine --- dma/nwl_dma.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dma/nwl_dma.h') 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 #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); -- cgit v1.2.3