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


Ignore:
Timestamp:
2011-10-24T13:17:26Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b7f7183
Parents:
25f8e5d
Message:

sb16: Dump PNP registers on startup. Move well-known mixer addresses to one place.

File:
1 edited

Legend:

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

    r25f8e5d rb130d0e  
    107107         * differently */
    108108        if (drv->dsp.version.major >= 4) {
    109                 pio_write_8(&drv->regs->mixer_address, MIXER_IRQ_ADDRESS);
     109                pio_write_8(&drv->regs->mixer_address, MIXER_IRQ_STATUS_ADDRESS);
    110110                const uint8_t irq_mask = pio_read_8(&drv->regs->mixer_data);
    111111                ddf_log_debug("SB16 IRQ mask %hhx.\n", irq_mask);
Note: See TracChangeset for help on using the changeset viewer.