Commit 9277bc72cf9be32f7a7c1a6353d29da34bafe0d0
1 parent
5e65a310
Fix NetBSD keyboard problem
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4822 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
2 deletions
hw/slavio_serial.c
... | ... | @@ -260,8 +260,7 @@ static uint32_t get_queue(void *opaque) |
260 | 260 | |
261 | 261 | static int slavio_serial_update_irq_chn(ChannelState *s) |
262 | 262 | { |
263 | - if ((s->wregs[W_INTR] & INTR_INTALL) && // interrupts enabled | |
264 | - (((s->wregs[W_INTR] & INTR_TXINT) && s->txint == 1) || | |
263 | + if ((((s->wregs[W_INTR] & INTR_TXINT) && s->txint == 1) || | |
265 | 264 | // tx ints enabled, pending |
266 | 265 | ((((s->wregs[W_INTR] & INTR_RXMODEMSK) == INTR_RXINT1ST) || |
267 | 266 | ((s->wregs[W_INTR] & INTR_RXMODEMSK) == INTR_RXINTALL)) && | ... | ... |