Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/acorn26/acorn26 The only caller of fuswintr() and s...



details:   https://anonhg.NetBSD.org/src/rev/f1cc6ad404cc
branches:  trunk
changeset: 535220:f1cc6ad404cc
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Aug 12 14:20:44 2002 +0000

description:
The only caller of fuswintr() and suswintr(), addupc_intr(), can handle their
returning -1, so have them always do that rather than panicking.

diffstat:

 sys/arch/acorn26/acorn26/stubs.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r e55f72a3e59a -r f1cc6ad404cc sys/arch/acorn26/acorn26/stubs.c
--- a/sys/arch/acorn26/acorn26/stubs.c  Mon Aug 12 12:04:31 2002 +0000
+++ b/sys/arch/acorn26/acorn26/stubs.c  Mon Aug 12 14:20:44 2002 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: stubs.c,v 1.1 2002/03/24 15:46:48 bjh21 Exp $ */
+/* $NetBSD: stubs.c,v 1.2 2002/08/12 14:20:44 bjh21 Exp $ */
 /*
  * stubs.c -- functions I haven't written yet
  */
 
 #include <sys/param.h>
 
-__RCSID("$NetBSD: stubs.c,v 1.1 2002/03/24 15:46:48 bjh21 Exp $");
+__RCSID("$NetBSD: stubs.c,v 1.2 2002/08/12 14:20:44 bjh21 Exp $");
 
 #include <sys/kernel.h>
 #include <sys/systm.h>
@@ -49,7 +49,8 @@
        void *base;
        short c;
 {
-       panic("suswintr not implemented");
+
+       return -1;
 }
 
 int
@@ -85,7 +86,8 @@
 fuswintr(base)
        const void *base;
 {
-       panic("fuswintr not implemented");
+
+       return -1;
 }
 
 long



Home | Main Index | Thread Index | Old Index