From 596763b7ded75c770c389b5da0e8f3e252d789cd Mon Sep 17 00:00:00 2001 From: bjh21 Date: Mon, 12 Aug 2002 14:20:44 +0000 Subject: [PATCH] The only caller of fuswintr() and suswintr(), addupc_intr(), can handle their returning -1, so have them always do that rather than panicking. --- sys/arch/acorn26/acorn26/stubs.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/arch/acorn26/acorn26/stubs.c b/sys/arch/acorn26/acorn26/stubs.c index 158bc5cbfde4..ab70e1556fc6 100644 --- a/sys/arch/acorn26/acorn26/stubs.c +++ b/sys/arch/acorn26/acorn26/stubs.c @@ -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 -__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 #include @@ -49,7 +49,8 @@ suswintr(base, c) void *base; short c; { - panic("suswintr not implemented"); + + return -1; } int @@ -85,7 +86,8 @@ int fuswintr(base) const void *base; { - panic("fuswintr not implemented"); + + return -1; } long