summaryrefslogtreecommitdiff
path: root/wct4xxp
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-18 23:31:18 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-18 23:31:18 +0000
commite2ff7ad9a3db43f0c3257dc91f0a4ea88418d4bd (patch)
tree8825361b9370ea9a5d612a20fc3ead3d0ae9bfe4 /wct4xxp
parent57f719d85f04bd036045c40c644e232a7196a564 (diff)
Improve IRQ handling when sharing with other cards.
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1854 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp')
-rw-r--r--wct4xxp/base.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 6cbfbc5..804195e 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -2843,9 +2843,6 @@ ZAP_IRQ_HANDLER(t4_interrupt_gen2)
inirq = 1;
/* Make sure it's really for us */
status = t4_pci_in(wc, WC_INTR);
-#if 1
- t4_pci_out(wc, WC_INTR, status & 0x00000008);
-#endif
/* Ignore if it's not for us */
if (!(status & 0x7)) {
@@ -2856,6 +2853,10 @@ ZAP_IRQ_HANDLER(t4_interrupt_gen2)
#endif
}
+#ifdef ENABLE_WORKQUEUES
+ t4_pci_out(wc, WC_INTR, status & 0x00000008);
+#endif
+
if (!wc->spansstarted) {
printk("Not prepped yet!\n");
#ifdef LINUX26