summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpefo <pefo@openbsd.org>1997-03-12 20:13:01 +0000
committerpefo <pefo@openbsd.org>1997-03-12 20:13:01 +0000
commiteef949fe8cb9acf539c1202edcbaaa9d1ee30fac (patch)
tree587f18a131de4b2be766e69982ba70abc1d49243
parentMips ARC systems (hmmm..) can also have PCI buses... (diff)
downloadwireguard-openbsd-eef949fe8cb9acf539c1202edcbaaa9d1ee30fac.tar.xz
wireguard-openbsd-eef949fe8cb9acf539c1202edcbaaa9d1ee30fac.zip
Need this for arc/pci...
-rw-r--r--sys/dev/eisa/eisavar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/eisa/eisavar.h b/sys/dev/eisa/eisavar.h
index cf75ea8a7fe..bb740f327ab 100644
--- a/sys/dev/eisa/eisavar.h
+++ b/sys/dev/eisa/eisavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: eisavar.h,v 1.6 1996/11/28 23:27:40 niklas Exp $ */
+/* $OpenBSD: eisavar.h,v 1.7 1997/03/12 20:13:01 pefo Exp $ */
/* $NetBSD: eisavar.h,v 1.10 1996/10/21 22:31:03 thorpej Exp $ */
/*
@@ -54,7 +54,7 @@ struct eisabus_attach_args;
/*
* Machine-dependent definitions.
*/
-#if (alpha + i386 != 1)
+#if (alpha + i386 + arc != 1)
ERROR: COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE.
#endif
#if alpha
@@ -63,6 +63,9 @@ ERROR: COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE.
#if i386
#include <i386/eisa/eisa_machdep.h>
#endif
+#if arc
+#include <arc/eisa/eisa_machdep.h>
+#endif
typedef int eisa_slot_t; /* really only needs to be 4 bits */