diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-11-18 03:26:52 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-11-18 03:26:52 +0100 |
commit | 641ddcdeec81fd38132eec5b4a83de9f7ea9a079 (patch) | |
tree | 8afcc4c1b43021e8585d1ff498fcf1bd6d09c0c4 /dma/nwl.c | |
parent | ca7353be486a0364a3460b511291a40182f130ba (diff) | |
download | pcitool-641ddcdeec81fd38132eec5b4a83de9f7ea9a079.tar.gz pcitool-641ddcdeec81fd38132eec5b4a83de9f7ea9a079.tar.bz2 pcitool-641ddcdeec81fd38132eec5b4a83de9f7ea9a079.tar.xz pcitool-641ddcdeec81fd38132eec5b4a83de9f7ea9a079.zip |
Adjust IPEDMA register model to address new revision
Diffstat (limited to 'dma/nwl.c')
-rw-r--r-- | dma/nwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ pcilib_dma_context_t *dma_nwl_init(pcilib_t *pcilib, const char *model, const vo } ctx->dma_bank = model_info->banks + dma_bank; - ctx->base_addr = pcilib_resolve_register_address(pcilib, ctx->dma_bank->bar, ctx->dma_bank->read_addr); + ctx->base_addr = pcilib_resolve_bar_address(pcilib, ctx->dma_bank->bar, ctx->dma_bank->read_addr); if ((model)&&(strcasestr(model, "ipecamera"))) { ctx->type = NWL_MODIFICATION_IPECAMERA; |