[zaptel-commits] mattf: branch 1.2 r2208 - /branches/1.2/wct4xxp/base.c

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Wed Feb 21 10:26:06 MST 2007


Author: mattf
Date: Wed Feb 21 11:26:05 2007
New Revision: 2208

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2208
Log:
Make sure we do the IRQ fix in the gen1 interrupt handler as well.

Modified:
    branches/1.2/wct4xxp/base.c

Modified: branches/1.2/wct4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wct4xxp/base.c?view=diff&rev=2208&r1=2207&r2=2208
==============================================================================
--- branches/1.2/wct4xxp/base.c (original)
+++ branches/1.2/wct4xxp/base.c Wed Feb 21 11:26:05 2007
@@ -2261,8 +2261,6 @@
 	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
@@ -2270,6 +2268,8 @@
 #else
 		return;
 #endif		
+
+	t4_pci_out(wc, WC_INTR, 0);
 
 	if (!wc->spansstarted) {
 		printk("Not prepped yet!\n");



More information about the zaptel-commits mailing list