diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-02 15:17:21 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-07-02 15:17:21 +0000 |
commit | 9277bc72cf9be32f7a7c1a6353d29da34bafe0d0 (patch) | |
tree | d9a726ea3c148edade3a4edee0a974ec2850ccfd /hw/slavio_serial.c | |
parent | 5e65a31037e03c9ccbc4df156ddb11b36108a0a6 (diff) |
Fix NetBSD keyboard problem
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4822 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/slavio_serial.c')
-rw-r--r-- | hw/slavio_serial.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/slavio_serial.c b/hw/slavio_serial.c index 97891cc529..9f5843af68 100644 --- a/hw/slavio_serial.c +++ b/hw/slavio_serial.c @@ -260,8 +260,7 @@ static uint32_t get_queue(void *opaque) 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)) && |