summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-21 17:26:05 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-21 17:26:05 +0000
commit10bc605bcf1ab49becaaf943ea50454187ecd8a0 (patch)
treebe79cba095f19914af3bac4e9ba4ad12817ccd6e /wct4xxp
parent34df77129357dc4d9eb11c93464bb02a6d5a3bb8 (diff)
Make sure we do the IRQ fix in the gen1 interrupt handler as well.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2208 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index c047f1e..98f068c 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -2261,8 +2261,6 @@ ZAP_IRQ_HANDLER(t4_interrupt)
inirq = 1;
/* Make sure it's really for us */
status = t4_pci_in(wc, WC_INTR);
- t4_pci_out(wc, WC_INTR, 0);
-
/* Ignore if it's not for us */
if (!status)
#ifdef LINUX26
@@ -2271,6 +2269,8 @@ ZAP_IRQ_HANDLER(t4_interrupt)
return;
#endif
+ t4_pci_out(wc, WC_INTR, 0);
+
if (!wc->spansstarted) {
printk("Not prepped yet!\n");
#ifdef LINUX26