artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1493d32
)
Add stray interrupts counters.
author
mickey
<mickey@openbsd.org>
Thu, 18 Apr 1996 12:00:25 +0000
(12:00 +0000)
committer
mickey
<mickey@openbsd.org>
Thu, 18 Apr 1996 12:00:25 +0000
(12:00 +0000)
sys/arch/i386/isa/isa_machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/i386/isa/isa_machdep.c
b/sys/arch/i386/isa/isa_machdep.c
index
044e947
..
dc21d08
100644
(file)
--- 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