[Asterisk-cvs] zaptel wct4xxp.c,1.11,1.12

markster at lists.digium.com markster at lists.digium.com
Thu Nov 13 10:29:22 CST 2003


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv31989

Modified Files:
	wct4xxp.c 
Log Message:
Keep track of irq misses, but don't risk triggering others with printk


Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- wct4xxp.c	13 Nov 2003 16:53:22 -0000	1.11
+++ wct4xxp.c	13 Nov 2003 16:55:36 -0000	1.12
@@ -923,8 +923,12 @@
 			dbl = 1;
 		wc->last0 = 1;
 	}
-	if (dbl) 
-		printk("TE410P: Double/missed interrupt detected\n");
+	if (dbl) {
+		for (x=0;x<4;x++)
+			wc->spans[x].irqmisses++;
+		if (debug)
+			printk("TE410P: Double/missed interrupt detected\n");
+	}
 	for (x=0;x<ZT_CHUNKSIZE;x++) {
 		/* Once per chunk */
 		for (z=0;z<24;z++) {




More information about the svn-commits mailing list