diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-04-24 05:35:48 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-04-24 05:35:48 +0200 |
commit | dcd8ad63316eac672492bc18112bbbb52811c3fc (patch) | |
tree | 321ed207442ebfe9b1feb8375de03847ed2e2de3 /dma | |
parent | 5f6fb4e4e77f121e0756744df8498520d4deddb8 (diff) | |
download | pcitool-dcd8ad63316eac672492bc18112bbbb52811c3fc.tar.gz pcitool-dcd8ad63316eac672492bc18112bbbb52811c3fc.tar.bz2 pcitool-dcd8ad63316eac672492bc18112bbbb52811c3fc.tar.xz pcitool-dcd8ad63316eac672492bc18112bbbb52811c3fc.zip |
More structural changes to get ready for stand-alone event engines
Diffstat (limited to 'dma')
-rw-r--r-- | dma/CMakeLists.txt | 2 | ||||
-rw-r--r-- | dma/ipe.h | 4 | ||||
-rw-r--r-- | dma/nwl.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/dma/CMakeLists.txt b/dma/CMakeLists.txt index 9bbfacd..8a3a8e1 100644 --- a/dma/CMakeLists.txt +++ b/dma/CMakeLists.txt @@ -1,8 +1,8 @@ include_directories( ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/pcilib ) - set(HEADERS ${HEADERS} nwl.h nwl_private.h nwl_engine.h nwl_irq.h nwl_loopback.h ipe.h ipe_private.h) add_library(dma STATIC nwl.c nwl_engine.c nwl_irq.c nwl_loopback.c ipe.c) @@ -2,7 +2,7 @@ #define _PCILIB_DMA_IPE_H #include <stdio.h> -#include "../pcilib.h" +#include "pcilib.h" //#define PCILIB_NWL_MODIFICATION_IPECAMERA 0x100 @@ -38,7 +38,7 @@ static const pcilib_dma_engine_description_t ipe_dma_engines[] = { }; static const pcilib_register_bank_description_t ipe_dma_banks[] = { - { PCILIB_REGISTER_BANK_DMA, PCILIB_BAR0, 0xA000, PCILIB_REGISTER_PROTOCOL_DEFAULT, 0, 0, PCILIB_LITTLE_ENDIAN, 32, PCILIB_LITTLE_ENDIAN, "0x%lx", "dma", "DMA Registers"}, + { PCILIB_REGISTER_BANK_DMA, PCILIB_REGISTER_PROTOCOL_DEFAULT, PCILIB_BAR0, 0, 0, 32, 0x0200, PCILIB_LITTLE_ENDIAN, PCILIB_LITTLE_ENDIAN, "0x%lx", "dma", "DMA Registers"}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL } }; @@ -2,7 +2,7 @@ #define _PCILIB_DMA_NWL_H #include <stdio.h> -#include "../pcilib.h" +#include "pcilib.h" pcilib_dma_context_t *dma_nwl_init(pcilib_t *ctx, const char *model, const void *arg); void dma_nwl_free(pcilib_dma_context_t *vctx); @@ -36,7 +36,7 @@ static const pcilib_dma_api_description_t nwl_dma_api = { }; static pcilib_register_bank_description_t nwl_dma_banks[] = { - { PCILIB_REGISTER_BANK_DMA, PCILIB_BAR0, 0xA000, PCILIB_REGISTER_PROTOCOL_DEFAULT , 0, 0, PCILIB_LITTLE_ENDIAN, 32, PCILIB_LITTLE_ENDIAN, "0x%lx", "dma", "DMA Registers"}, + { PCILIB_REGISTER_BANK_DMA, PCILIB_REGISTER_PROTOCOL_DEFAULT, PCILIB_BAR0, 0, 0, 32, 0xA000, PCILIB_LITTLE_ENDIAN, PCILIB_LITTLE_ENDIAN, "0x%lx", "dma", "DMA Registers"}, { 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL } }; |