The only caller of fuswintr() and suswintr(), addupc_intr(), can handle their
returning -1, so have them always do that rather than panicking.
This commit is contained in:
parent
828c2ebb9f
commit
596763b7de
|
@ -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 @@ 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
|
||||
|
|
Loading…
Reference in New Issue