diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-04-20 22:01:04 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-04-20 22:01:04 +0200 |
commit | 77c4d6e67debf0e729734d882df033c4c0f5b0c3 (patch) | |
tree | 4a59e86332d6cc78fc5c97110ecba281b0f67bc9 /dma/ipe_private.h | |
parent | 0002c0cc260a6a8e2b6c53f19ae99a625eca4355 (diff) | |
download | pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.tar.gz pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.tar.bz2 pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.tar.xz pcitool-77c4d6e67debf0e729734d882df033c4c0f5b0c3.zip |
Big redign of model structures
Diffstat (limited to 'dma/ipe_private.h')
-rw-r--r-- | dma/ipe_private.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dma/ipe_private.h b/dma/ipe_private.h index fd44011..161e609 100644 --- a/dma/ipe_private.h +++ b/dma/ipe_private.h @@ -1,6 +1,8 @@ #ifndef _PCILIB_DMA_IPE_PRIVATE_H #define _PCILIB_DMA_IPE_PRIVATE_H +#include "dma.h" + #define IPEDMA_CORES 1 #define IPEDMA_TLP_SIZE 32 #define IPEDMA_PAGE_SIZE 4096 @@ -30,12 +32,10 @@ typedef struct ipe_dma_s ipe_dma_t; struct ipe_dma_s { - struct pcilib_dma_context_s dmactx; - pcilib_dma_engine_description_t engine[2]; + pcilib_dma_context_t dmactx; + //pcilib_dma_engine_description_t engine[2]; - pcilib_t *pcilib; - - pcilib_register_bank_description_t *dma_bank; + const pcilib_register_bank_description_t *dma_bank; char *base_addr; pcilib_irq_type_t irq_enabled; /**< indicates that IRQs are enabled */ |