summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpefo <pefo@openbsd.org>1997-03-12 19:52:56 +0000
committerpefo <pefo@openbsd.org>1997-03-12 19:52:56 +0000
commit991fadcd14b977a0677d063292f9b6cbabb0e65a (patch)
treec2b8f7421dee015c9a563827d2b133b72c1c8ac2
parentAdd a define for another compatible chip. (diff)
downloadwireguard-openbsd-991fadcd14b977a0677d063292f9b6cbabb0e65a.tar.xz
wireguard-openbsd-991fadcd14b977a0677d063292f9b6cbabb0e65a.zip
Mips ARC systems (hmmm..) can also have PCI buses...
-rw-r--r--sys/dev/pci/pcivar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index 225907936fa..445da365b36 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcivar.h,v 1.10 1997/01/24 19:34:16 niklas Exp $ */
+/* $OpenBSD: pcivar.h,v 1.11 1997/03/12 19:52:56 pefo Exp $ */
/* $NetBSD: pcivar.h,v 1.18 1996/12/01 21:02:18 leo Exp $ */
/*
@@ -54,7 +54,7 @@ struct pcibus_attach_args;
/*
* Machine-dependent definitions.
*/
-#if (alpha + atari + i386 != 1)
+#if (alpha + atari + i386 + arc != 1)
ERROR: COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE.
#endif
#if alpha
@@ -66,6 +66,9 @@ ERROR: COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE.
#if i386
#include <i386/pci/pci_machdep.h>
#endif
+#if arc
+#include <arc/pci/pci_machdep.h>
+#endif
/*
* PCI bus attach arguments.