summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-21 17:30:09 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-21 17:30:09 +0000
commit228d0013352b805aaa439863d0537df95510aa7a (patch)
treef4184295aea2641f528f91db351c17f8e339aca3
parentfc0b5cce51638005fa99570e1b57f5e347683c24 (diff)
Merged revisions 2209 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2209 | mattf | 2007-02-21 11:27:59 -0600 (Wed, 21 Feb 2007) | 10 lines Merged revisions 2208 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2208 | mattf | 2007-02-21 11:26:05 -0600 (Wed, 21 Feb 2007) | 2 lines Make sure we do the IRQ fix in the gen1 interrupt handler as well. ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2210 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--wct4xxp/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wct4xxp/base.c b/wct4xxp/base.c
index 03c2c48..51a17d7 100644
--- a/wct4xxp/base.c
+++ b/wct4xxp/base.c
@@ -2732,8 +2732,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);
-
/* Process framer interrupts */
status2 = t4_framer_in(wc, 0, FRMR_CIS);
if (status2 & 0x0f) {
@@ -2753,6 +2751,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