Changeset ea150dc6 in mainline for uspace/drv/audio/sb16/sb16.c


Ignore:
Timestamp:
2012-06-29T13:46:20Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bd250b0f
Parents:
722912e
Message:

sb16: Add pio ranges to irq code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/sb16.c

    r722912e rea150dc6  
    7474}
    7575/*----------------------------------------------------------------------------*/
    76 void sb16_irq_code(void *regs, int dma8, int dma16, irq_cmd_t cmds[])
     76void sb16_irq_code(void *regs, int dma8, int dma16, irq_cmd_t cmds[], irq_pio_range_t ranges[])
    7777{
    7878        assert(regs);
     
    8181        memcpy(cmds, irq_cmds, sizeof(irq_cmds));
    8282        cmds[0].addr = (void*)&registers->dsp_read_status;
     83        ranges[0].base = (uintptr_t)registers;
     84        ranges[0].size = sizeof(*registers);
    8385        if (dma16 > 4 && dma16 < 8) {
    8486                /* Valid dma16 */
Note: See TracChangeset for help on using the changeset viewer.