From 70937611e34577151a6607640050e8b164a54e70 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 18 Jun 2011 06:37:00 +0200 Subject: DMA engine initialization and basic intrastructure for DMA read/write --- dma/nwl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dma/nwl.h') diff --git a/dma/nwl.h b/dma/nwl.h index 63fccfb..8a79601 100644 --- a/dma/nwl.h +++ b/dma/nwl.h @@ -17,10 +17,13 @@ typedef struct { pcilib_dma_context_t *dma_nwl_init(pcilib_t *ctx); void dma_nwl_free(pcilib_dma_context_t *vctx); +int dma_nwl_read(pcilib_dma_context_t *ctx, pcilib_dma_t dma, size_t size, void *buf); + #ifdef _PCILIB_DMA_NWL_C pcilib_dma_api_description_t nwl_dma_api = { dma_nwl_init, - dma_nwl_free + dma_nwl_free, + dma_nwl_read }; #else extern pcilib_dma_api_description_t nwl_dma_api; -- cgit v1.2.3