summaryrefslogtreecommitdiff
path: root/wct1xxp.c
diff options
context:
space:
mode:
Diffstat (limited to 'wct1xxp.c')
-rw-r--r--wct1xxp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wct1xxp.c b/wct1xxp.c
index 4aecf27..a0a1e95 100644
--- a/wct1xxp.c
+++ b/wct1xxp.c
@@ -1134,8 +1134,6 @@ ZAP_IRQ_HANDLER(t1xxp_interrupt)
int x;
ints = inb(wc->ioaddr + WC_INTSTAT);
- outb(ints, wc->ioaddr + WC_INTSTAT);
-
if (!ints)
#ifdef LINUX26
return IRQ_NONE;
@@ -1143,6 +1141,8 @@ ZAP_IRQ_HANDLER(t1xxp_interrupt)
return;
#endif
+ outb(ints, wc->ioaddr + WC_INTSTAT);
+
if (!wc->intcount) {
if (debug) printk("Got interrupt: 0x%04x\n", ints);
}