Ignore:
Timestamp:
2012-09-06T12:31:05Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
504f1756
Parents:
ecd1a0a (diff), 8cf4823 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/drivers/arm926_uart/arm926_uart.c

    recd1a0a rcc250b3  
    8383        arm926_uart_t *uart = irq->instance;
    8484
    85         // TODO make pio_read accept consts pointers and remove the cast
     85        // TODO make pio_read accept const pointers and remove the cast
    8686        while ((pio_read_32((ioport32_t*)&uart->regs->flag) & ARM926_UART_FLAG_RXFE_FLAG) == 0) {
    8787                /* We ignore all error flags here */
     
    109109
    110110        /* Mask all interrupts */
    111         uart->regs->interrupt_mask = ARM926_UART_INTERRUPT_ALL;
     111        uart->regs->interrupt_mask = 0;
    112112
    113113        outdev_initialize("arm926_uart_dev", &uart->outdev, &arm926_uart_ops);
     
    133133        irq_register(&uart->irq);
    134134        /* Enable receive interrupt */
    135         uart->regs->interrupt_mask &= ~ARM926_UART_INTERRUPT_RX_FLAG;
     135        uart->regs->interrupt_mask |= ARM926_UART_INTERRUPT_RX_FLAG;
    136136}
    137137
Note: See TracChangeset for help on using the changeset viewer.