From 10bc605bcf1ab49becaaf943ea50454187ecd8a0 Mon Sep 17 00:00:00 2001 From: mattf Date: Wed, 21 Feb 2007 17:26:05 +0000 Subject: 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 --- wct4xxp/base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wct4xxp') 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 -- cgit v1.2.3