From 2ad1a56fe96fec2005e31b6c2737f32acbbfcfa1 Mon Sep 17 00:00:00 2001 From: mickey Date: Thu, 18 Apr 1996 12:00:25 +0000 Subject: [PATCH] Add stray interrupts counters. --- sys/arch/i386/isa/isa_machdep.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.20.1