Changeset dce7e41 in mainline for uspace/drv/audio/sb16/sb16.c
- Timestamp:
- 2011-10-21T21:59:30Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 962ef67
- Parents:
- f14e6ea
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/sb16.c
rf14e6ea rdce7e41 103 103 { 104 104 assert(drv); 105 ddf_log_note("SB16 interrupt.\n");106 105 /* The acknowledgment of interrupts on DSP version 4.xx is different; 107 106 * It can contain MPU-401 indicator and DMA16 transfers are acked … … 110 109 pio_write_8(&drv->regs->mixer_address, MIXER_IRQ_ADDRESS); 111 110 const uint8_t irq_mask = pio_read_8(&drv->regs->mixer_data); 112 ddf_log_ note("SB16 IRQ mask %hhx.\n", irq_mask);111 ddf_log_debug("SB16 IRQ mask %hhx.\n", irq_mask); 113 112 /* Third bit is MPU-401 interrupt */ 114 113 if (irq_mask & 0x4) { 115 114 return; 116 115 } 116 } else { 117 ddf_log_debug("SB16 interrupt.\n"); 117 118 } 118 119 sb_dsp_interrupt(&drv->dsp); 119 120 120 }
Note:
See TracChangeset
for help on using the changeset viewer.