From 6bae5ce99d15027f5ece30547d65f1b5d655541a Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 18 Apr 1996 12:00:26 +0000 Subject: Add stray interrupts counters. --- sys/arch/i386/isa/isa_machdep.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/arch/i386') diff --git a/sys/arch/i386/isa/isa_machdep.c b/sys/arch/i386/isa/isa_machdep.c index 044e9478acf..dc21d08587b 100644 --- a/sys/arch/i386/isa/isa_machdep.c +++ b/sys/arch/i386/isa/isa_machdep.c @@ -145,6 +145,7 @@ isa_nmi() return(0); } +u_long intrstray[ICU_LEN] = {0}; /* * Caught a stray interrupt, notify */ @@ -154,6 +155,8 @@ isa_strayintr(irq) { static u_long strays; + intrstray[irq]++; + /* * Stray interrupts on irq 7 occur when an interrupt line is raised * and then lowered before the CPU acknowledges it. This generally -- cgit v1.2.3