/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to dma/nwl.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-11-18 02:26:52 UTC
  • Revision ID: csa@suren.me-20151118022652-ece0idm46oxzoy6s
Adjust IPEDMA register model to address new revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
    }
99
99
 
100
100
    ctx->dma_bank = model_info->banks + dma_bank;
101
 
    ctx->base_addr = pcilib_resolve_register_address(pcilib, ctx->dma_bank->bar, ctx->dma_bank->read_addr);
 
101
    ctx->base_addr = pcilib_resolve_bar_address(pcilib, ctx->dma_bank->bar, ctx->dma_bank->read_addr);
102
102
 
103
103
    if ((model)&&(strcasestr(model, "ipecamera"))) {
104
104
        ctx->type = NWL_MODIFICATION_IPECAMERA;