diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-06-27 20:23:39 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-06-27 20:23:39 +0000 |
commit | a87f37996c76cc689337013c91e7410f5d14c194 (patch) | |
tree | 5de66dbd0ba0a97b01c3836454f0779ab46dc3f3 /sys/dev/tc/tcvar.h | |
parent | 05be8ad2db6a3bb656846fceeeaa6f1d2a8722a5 (diff) |
More pmax files are leaving the party.
Diffstat (limited to 'sys/dev/tc/tcvar.h')
-rw-r--r-- | sys/dev/tc/tcvar.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/sys/dev/tc/tcvar.h b/sys/dev/tc/tcvar.h index 3be4d7677c8..8d68b170276 100644 --- a/sys/dev/tc/tcvar.h +++ b/sys/dev/tc/tcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcvar.h,v 1.6 1996/12/08 01:03:07 niklas Exp $ */ +/* $OpenBSD: tcvar.h,v 1.7 2001/06/27 20:23:38 miod Exp $ */ /* $NetBSD: tcvar.h,v 1.7 1996/10/22 21:37:31 cgd Exp $ */ /* @@ -35,23 +35,18 @@ * Definitions for TurboChannel autoconfiguration. */ -#ifdef __alpha__ /* XXX pmax does not yet have machine/bus.h */ #include <machine/bus.h> -#endif #include <dev/tc/tcreg.h> /* * Machine-dependent definitions. */ -#if (alpha + pmax != 1) +#if !defined(__alpha__) ERROR: COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE. #endif -#if alpha +#ifdef __alpha__ #include <alpha/tc/tc_machdep.h> #endif -#if pmax -#include <machine/tc_machdep.h> -#endif /* * In the long run, the following block will go completely away @@ -74,17 +69,6 @@ ERROR: COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE. #define TC_IPL_TTY IPL_TTY #define TC_IPL_CLOCK IPL_CLOCK -#else -/* - * On the pmax, we still need the old definitions. - */ -typedef enum { - TC_IPL_NONE, /* block only this interrupt */ - TC_IPL_BIO, /* block disk interrupts */ - TC_IPL_NET, /* block network interrupts */ - TC_IPL_TTY, /* block terminal interrupts */ - TC_IPL_CLOCK, /* block clock interrupts */ -} tc_intrlevel_t; #endif /* |