summaryrefslogtreecommitdiff
path: root/wcfxo.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-24 13:01:36 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-24 13:01:36 +0000
commitd41cc2f97efdd332b3f0092e9ef85143652d50c8 (patch)
tree31c70ec38980a612f3b0ccfd8071402059c8a4c5 /wcfxo.c
parent4db7dae955855ac06e287eca94b90690e3dd60fc (diff)
might as well fix this driver too :-)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1953 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wcfxo.c')
-rw-r--r--wcfxo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wcfxo.c b/wcfxo.c
index 5898c57..5816b67 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;