Get landisk compiling again.

This commit is contained in:
ad 2007-12-11 16:51:13 +00:00
parent 730c8a98ab
commit 2505fdfd77
3 changed files with 8 additions and 18 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.h,v 1.4 2007/02/16 02:53:47 ad Exp $ */
/* $NetBSD: intr.h,v 1.5 2007/12/11 16:51:13 ad Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -42,16 +42,9 @@
#define _INTR_N 16
/* Interrupt priority levels */
#define IPL_BIO 10 /* block I/O */
#define IPL_NET 11 /* network */
#define IPL_TTY 12 /* terminal */
#define IPL_VM IPL_TTY
#define IPL_SERIAL 13 /* serial */
#define IPL_CLOCK 14 /* clock */
#define IPL_STATCLOCK IPL_CLOCK
#define IPL_SCHED IPL_CLOCK
#define IPL_VM 12 /* low i/o */
#define IPL_SCHED 14 /* clock */
#define IPL_HIGH 15 /* everything */
#define IPL_LOCK IPL_HIGH
typedef uint8_t ipl_t;
typedef struct {

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.2 2007/11/26 19:01:26 pooka Exp $ */
/* $NetBSD: autoconf.c,v 1.3 2007/12/11 16:51:14 ad Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.2 2007/11/26 19:01:26 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.3 2007/12/11 16:51:14 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -57,7 +57,6 @@ cpu_configure(void)
/* Start configuration */
splhigh();
softintr_init();
intr_init();
if (config_rootfound("mainbus", NULL) == NULL)

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.c,v 1.1 2006/09/01 21:26:18 uwe Exp $ */
/* $NetBSD: intr.c,v 1.2 2007/12/11 16:51:14 ad Exp $ */
/*-
* Copyright (c) 2005 NONAKA Kimihiro
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.1 2006/09/01 21:26:18 uwe Exp $");
__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.2 2007/12/11 16:51:14 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -154,9 +154,7 @@ extintr_establish(int irq, int level, int (*ih_fun)(void *), void *ih_arg)
panic("extintr_establish: unknown level %d", level);
/*NOTREACHED*/
#endif
case IPL_BIO:
case IPL_NET:
case IPL_TTY:
case IPL_VM:
break;
}