Revert r343077 until the license issues surrounding it can be resolved.
Approved by: core@
This commit is contained in:
parent
54553daf6d
commit
4def346d56
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=344057
@ -431,13 +431,6 @@ uart_write(struct uart_softc *sc, int offset, uint8_t value)
|
||||
sc->thre_int_pending = true;
|
||||
break;
|
||||
case REG_IER:
|
||||
/* Assert an interrupt if re-enabling the THRE intr, since we
|
||||
* always report THRE as active in the status register.
|
||||
*/
|
||||
if ((sc->ier & IER_ETXRDY) == 0 &&
|
||||
(value & IER_ETXRDY) != 0) {
|
||||
sc->thre_int_pending = true;
|
||||
}
|
||||
/*
|
||||
* Apply mask so that bits 4-7 are 0
|
||||
* Also enables bits 0-3 only if they're 1
|
||||
|
Loading…
Reference in New Issue
Block a user