summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wcfxo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wcfxo.c b/wcfxo.c
index bfcef76..cc4a540 100644
--- a/wcfxo.c
+++ b/wcfxo.c
@@ -407,7 +407,6 @@ ZAP_IRQ_HANDLER(wcfxo_interrupt)
#endif
ints = inb(wc->ioaddr + WC_INTSTAT);
- outb(ints, wc->ioaddr + WC_INTSTAT);
if (!ints)
@@ -417,6 +416,8 @@ ZAP_IRQ_HANDLER(wcfxo_interrupt)
return;
#endif
+ outb(ints, wc->ioaddr + WC_INTSTAT);
+
if (ints & 0x0c) { /* if there is a rx interrupt pending */
#ifdef ENABLE_TASKLETS
wc->ints = ints;