diff options
author | root <root@iss-tomyspiel-l> | 2011-06-18 06:37:00 +0200 |
---|---|---|
committer | root <root@iss-tomyspiel-l> | 2011-06-18 06:37:00 +0200 |
commit | 70937611e34577151a6607640050e8b164a54e70 (patch) | |
tree | 23cc1c9573dafd8584e0f0697f79fde3dad49258 /dma/nwl.h | |
parent | 4b5a2c9625acd583573005ef66d17d919469009d (diff) | |
download | pcitool-70937611e34577151a6607640050e8b164a54e70.tar.gz pcitool-70937611e34577151a6607640050e8b164a54e70.tar.bz2 pcitool-70937611e34577151a6607640050e8b164a54e70.tar.xz pcitool-70937611e34577151a6607640050e8b164a54e70.zip |
DMA engine initialization and basic intrastructure for DMA read/write
Diffstat (limited to 'dma/nwl.h')
-rw-r--r-- | dma/nwl.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |