diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-11-13 16:55:36 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-11-13 16:55:36 +0000 |
commit | fda2b6e1c02f1307b4ad902d09dee00f7a9907fb (patch) | |
tree | dc6628dd60ab61eed2bd4efae8fd3e0430369720 /wct4xxp.c | |
parent | c05675c6ffd595305bb92d54c60ef9be61be0119 (diff) |
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
Diffstat (limited to 'wct4xxp.c')
-rwxr-xr-x | wct4xxp.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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<ZT_CHUNKSIZE;x++) { /* Once per chunk */ for (z=0;z<24;z++) { |