Changeset d98d136 in mainline for uspace/lib/c/include/device/hw_res.h


Ignore:
Timestamp:
2011-11-13T20:39:10Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
55a8e0c
Parents:
0ea8f83
Message:

hw_res: Add support for ISA DMAC channels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/device/hw_res.h

    r0ea8f83 rd98d136  
    5050        INTERRUPT,
    5151        IO_RANGE,
    52         MEM_RANGE
     52        MEM_RANGE,
     53        DMA_CHANNEL_8,
     54        DMA_CHANNEL_16,
    5355} hw_res_type_t;
    5456
     
    7779                        int irq;
    7880                } interrupt;
     81
     82                union {
     83                        int dma8;
     84                        int dma16;
     85                } dma_channel;
    7986        } res;
    8087} hw_resource_t;
Note: See TracChangeset for help on using the changeset viewer.