Skip to contentSkip to conversation

[4822] Fix NetBSD keyboard problem

Qemu-devel Blue Swirl 1 participant 1 message Jul 2, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 4822

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4822
Author:   blueswir1
Date:     2008-07-02 15:17:21 +0000 (Wed, 02 Jul 2008)

Log Message:
-----------
Fix NetBSD keyboard problem

Modified Paths:
--------------
trunk/hw/slavio_serial.c

Modified: trunk/hw/slavio_serial.c
===================================================================

hw/slavio_serial.c +1 -2
@@ -260,8 +260,7 @@
 
 static int slavio_serial_update_irq_chn(ChannelState *s)
 {
-    if ((s->wregs[W_INTR] & INTR_INTALL) && // interrupts enabled
-        (((s->wregs[W_INTR] & INTR_TXINT) && s->txint == 1) ||
+    if ((((s->wregs[W_INTR] & INTR_TXINT) && s->txint == 1) ||
          // tx ints enabled, pending
          ((((s->wregs[W_INTR] & INTR_RXMODEMSK) == INTR_RXINT1ST) ||
            ((s->wregs[W_INTR] & INTR_RXMODEMSK) == INTR_RXINTALL)) &&