/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/pci.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-10-18 01:47:47 UTC
  • Revision ID: csa@suren.me-20151018014747-9ji2ygdhz1l9wnt5
Support properties of arbitrary type

Show diffs side-by-side

added added

removed removed

Lines of Context:
383
383
                pcilib_return_lock(ctx, PCILIB_LOCK_FLAGS_DEFAULT, ctx->dma_wlock[dma]);
384
384
        }
385
385
 
386
 
        pcilib_free_register_banks(ctx);
 
386
        pcilib_free_register_banks(ctx, 0);
387
387
 
388
388
        if (ctx->event_plugin)
389
389
            pcilib_plugin_close(ctx->event_plugin);
414
414
 
415
415
 
416
416
        if (ctx->units) {
417
 
            pcilib_clean_units(ctx);
 
417
            pcilib_clean_units(ctx, 0);
418
418
            free(ctx->units);
419
419
        }
420
420
 
421
421
        if (ctx->views) {
422
 
            pcilib_clean_views(ctx);
 
422
            pcilib_clean_views(ctx, 0);
423
423
            free(ctx->views);
424
424
        }
425
425
 
426
 
        pcilib_clean_registers(ctx);
 
426
        pcilib_clean_registers(ctx, 0);
427
427
 
428
428
        if (ctx->register_ctx)
429
429
            free(ctx->register_ctx);