summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-01-25 12:13:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-01-25 12:13:23 +0000
commit715e607ad09ff02a6d54ca9fe356e0a8b7cc4b4f (patch)
tree324a5b24f518a99b6b75c79d28c1f7283170884d
parent13d4c08a39faeab278fdc17dab9d3e10ca4a17c8 (diff)
Do not write anything when ignoring cl interrupts not for us; this kills
M8120, since cl0 and cl1 share the same interrupt, and cl1 would warn, using cl0 as the console, and an infinite loop would occur. Spotted by Christian Groessler, thanks!
-rw-r--r--sys/arch/mvme88k/dev/cl.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/mvme88k/dev/cl.c b/sys/arch/mvme88k/dev/cl.c
index 9788d57cab8..f74f056b2d7 100644
--- a/sys/arch/mvme88k/dev/cl.c
+++ b/sys/arch/mvme88k/dev/cl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl.c,v 1.48 2004/07/30 19:02:05 miod Exp $ */
+/* $OpenBSD: cl.c,v 1.49 2005/01/25 12:13:22 miod Exp $ */
/*
* Copyright (c) 1995 Dale Rahn. All rights reserved.
@@ -1304,8 +1304,6 @@ cl_mintr(arg)
mir = bus_space_read_1(iot, ioh, CL_MIR);
if ((mir & 0x40) == 0) {
- /* only if intr is not shared? */
- log(LOG_WARNING, "cl_mintr extra intr\n");
return 0;
}
@@ -1366,8 +1364,6 @@ cl_txintr(arg)
ioh = sc->sc_ioh;
tir = bus_space_read_1(iot, ioh, CL_TIR);
if ((tir & 0x40) == 0) {
- /* only if intr is not shared ??? */
- log(LOG_WARNING, "cl_txintr extra intr\n");
return 0;
}
@@ -1500,8 +1496,6 @@ cl_rxintr(arg)
rir = bus_space_read_1(iot, ioh, CL_RIR);
if ((rir & 0x40) == 0x0) {
- /* only if intr is not shared ??? */
- log(LOG_WARNING, "cl_rxintr extra intr\n");
return 0;
}