aboutsummaryrefslogtreecommitdiff
path: root/hw/slavio_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/slavio_serial.c')
-rw-r--r--hw/slavio_serial.c3
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)) &&