Changeset d9cf684a in mainline for uspace/lib/drv/include/ops/hw_res.h


Ignore:
Timestamp:
2011-12-22T14:10:31Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fe5e9629
Parents:
a438de4
Message:

cherrypick and adopt Intel 8237A DMA controller support from bzr://krabicka.net/orome/helenos/audio/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/ops/hw_res.h

    ra438de4 rd9cf684a  
    11/*
    2  * Copyright (c) 2010 Lenka Trochtova
     2 * Copyright (c) 2010 Lenka Trochtova
     3 * Copyright (c) 2011 Jan Vesely
    34 * All rights reserved.
    45 *
     
    4243
    4344typedef struct {
    44          hw_resource_list_t *(*get_resource_list)(ddf_fun_t *);
    45          bool (*enable_interrupt)(ddf_fun_t *);
     45        hw_resource_list_t *(*get_resource_list)(ddf_fun_t *);
     46        bool (*enable_interrupt)(ddf_fun_t *);
     47        int (*dma_channel_setup)(ddf_fun_t *, unsigned, uint32_t, uint16_t, uint8_t);
    4648} hw_res_ops_t;
    4749
Note: See TracChangeset for help on using the changeset viewer.