Changeset c4e30607 in mainline for uspace/drv/char/ns8250/ns8250.c
- Timestamp:
- 2016-12-10T12:45:55Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e53794c
- Parents:
- 6feb444
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/char/ns8250/ns8250.c
r6feb444 rc4e30607 771 771 { 772 772 ns8250_t *ns = dev_ns8250(dev); 773 774 773 uint8_t iir = pio_read_8(&ns->regs->iid); 775 774 if ((iir & NS8250_IID_CAUSE_MASK) == NS8250_IID_CAUSE_RXSTATUS) { … … 781 780 782 781 ns8250_read_from_device(ns); 782 irc_disable_interrupt(ns->irq); 783 783 } 784 784 … … 857 857 } 858 858 need_unreg_intr_handler = true; 859 859 860 860 /* Enable interrupt. */ 861 861 rc = ns8250_interrupt_enable(ns);
Note:
See TracChangeset
for help on using the changeset viewer.