From 32c2f2c589c1a3ccf5dd9117538aafc6f3e0194e Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 26 Oct 2011 07:12:31 +0200 Subject: Improvements of DMA engine --- dma/nwl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dma/nwl.h') diff --git a/dma/nwl.h b/dma/nwl.h index db48fdc..0e4b5ae 100644 --- a/dma/nwl.h +++ b/dma/nwl.h @@ -8,7 +8,7 @@ typedef struct pcilib_nwl_engine_description_s pcilib_nwl_engine_description_t; #define NWL_XAUI_ENGINE 0 #define NWL_XRAWDATA_ENGINE 1 -#define NWL_FIX_EOP_FOR_BIG_PACKETS // requires precise sizes in read requests +#define NWL_MAX_PACKET_SIZE 4096 //16384 //#define NWL_GENERATE_DMA_IRQ #define PCILIB_NWL_ALIGNMENT 64 // in bytes @@ -44,6 +44,8 @@ struct pcilib_nwl_engine_description_s { struct nwl_dma_s { + struct pcilib_dma_context_s dmactx; + pcilib_t *pcilib; pcilib_dma_modification_t type; -- cgit v1.2.3