summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-08-08 19:16:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-08-08 19:16:48 +0000
commit5a1e90183885cc81d9034d7111da8907aa983c3b (patch)
tree10779318e262de59c4776d75b612ac4b2849bd58 /sys/dev/isa
parent9d7d7bee2ce9247ab9fef562f02a979442fd2ec2 (diff)
prepare for alpha, if it ever happens
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/isavar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/isa/isavar.h b/sys/dev/isa/isavar.h
index ebab4a5a47f..8afd8916c8d 100644
--- a/sys/dev/isa/isavar.h
+++ b/sys/dev/isa/isavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: isavar.h,v 1.37 1999/07/05 20:08:37 deraadt Exp $ */
+/* $OpenBSD: isavar.h,v 1.38 1999/08/08 19:16:47 deraadt Exp $ */
/* $NetBSD: isavar.h,v 1.26 1997/06/06 23:43:57 thorpej Exp $ */
/*-
@@ -155,12 +155,15 @@ struct isabus_attach_args;
*/
struct isapnp_softc;
-#if (__i386__ != 1)
+#if (__i386__ != 1 && __alpha__ != 1)
ERROR: COMPILING ISAPNP FOR UNSUPPORTED MACHINE, OR MORE THAN ONE.
#endif
#if __i386__
#include <i386/isa/isapnp_machdep.h>
#endif
+#if __alpha__
+#include <alpha/isa/isapnp_machdep.h>
+#endif
#endif /* NISAPNP */
# define ISAPNP_WRITE_ADDR(sc, v) \