From 6b1bb0edb4792cc3d4e6b71c4a80e99438081d5d Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 12 Feb 2019 19:05:09 +0000 Subject: [PATCH] Revert r343077 until the license issues surrounding it can be resolved. Approved by: core@ --- usr.sbin/bhyve/uart_emul.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/usr.sbin/bhyve/uart_emul.c b/usr.sbin/bhyve/uart_emul.c index c9d136930eb..3c45ac7fc95 100644 --- a/usr.sbin/bhyve/uart_emul.c +++ b/usr.sbin/bhyve/uart_emul.c @@ -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 -- 2.45.0