diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-08-16 04:05:39 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-08-16 04:05:39 +0000 |
commit | 05a82d72e04b705a3a94a7af42b016e993099e76 (patch) | |
tree | 9593f1ffeb92d13b8789cdefd81dfb0d0d68611c /sys/arch/hppa/gsc | |
parent | efd7b14ded40fa167c2227d2853c54987eb0d7e7 (diff) |
report unhandled interrupts w/ DEBUG only
Diffstat (limited to 'sys/arch/hppa/gsc')
-rw-r--r-- | sys/arch/hppa/gsc/gscbus.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/gsc/gscbus.c b/sys/arch/hppa/gsc/gscbus.c index 5affc2e37f3..87168df5712 100644 --- a/sys/arch/hppa/gsc/gscbus.c +++ b/sys/arch/hppa/gsc/gscbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gscbus.c,v 1.7 1999/08/16 02:48:39 mickey Exp $ */ +/* $OpenBSD: gscbus.c,v 1.8 1999/08/16 04:05:38 mickey Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -253,10 +253,12 @@ gsc_intr(v) s = splx(iv->pri); ret = (iv->handler)(iv->arg); splx(s); +#ifdef DEBUG if (!ret) printf ("%s: can't handle interrupt\n", iv->evcnt.ev_name); - ret++; +#endif + ret = 1; } else printf("%s: stray interrupt %d\n", sc->sc_dev.dv_xname, i); |