From fda2b6e1c02f1307b4ad902d09dee00f7a9907fb Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 13 Nov 2003 16:55:36 +0000 Subject: Keep track of irq misses, but don't risk triggering others with printk git-svn-id: http://svn.digium.com/svn/zaptel/trunk@273 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wct4xxp.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'wct4xxp.c') diff --git a/wct4xxp.c b/wct4xxp.c index 46fdd58..7e29ca5 100755 --- a/wct4xxp.c +++ b/wct4xxp.c @@ -923,8 +923,12 @@ static void t4_receiveprep(struct t4 *wc, int irq) 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