svn commit: r344057 - head/usr.sbin/bhyve

Warner Losh imp at FreeBSD.org
Tue Feb 12 19:05:10 UTC 2019


Author: imp
Date: Tue Feb 12 19:05:09 2019
New Revision: 344057
URL: https://svnweb.freebsd.org/changeset/base/344057

Log:
  Revert r343077 until the license issues surrounding it can be resolved.
  
  Approved by:	core@

Modified:
  head/usr.sbin/bhyve/uart_emul.c

Modified: head/usr.sbin/bhyve/uart_emul.c
==============================================================================
--- head/usr.sbin/bhyve/uart_emul.c	Tue Feb 12 18:32:14 2019	(r344056)
+++ head/usr.sbin/bhyve/uart_emul.c	Tue Feb 12 19:05:09 2019	(r344057)
@@ -431,13 +431,6 @@ uart_write(struct uart_softc *sc, int offset, uint8_t 
 		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


More information about the svn-src-all mailing list