summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pcivar.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-08-06 21:54:10 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-08-06 21:54:10 +0000
commit0dd846794070d42bcfd8aed81b908e0a40608032 (patch)
tree236f4f3547cf2213c9eafad54e09c9ad72f4813f /sys/dev/pci/pcivar.h
parentffb7dfef7aecf30ee2538446a6da5d607390e6e2 (diff)
sgi support; from pefo@
Diffstat (limited to 'sys/dev/pci/pcivar.h')
-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 004cc040cab..36e146f9d03 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcivar.h,v 1.36 2004/06/25 08:57:10 art Exp $ */
+/* $OpenBSD: pcivar.h,v 1.37 2004/08/06 21:54:09 mickey Exp $ */
/* $NetBSD: pcivar.h,v 1.23 1997/06/06 23:48:05 thorpej Exp $ */
/*
@@ -54,7 +54,7 @@ struct pcibus_attach_args;
/*
* Machine-dependent definitions.
*/
-#if (__alpha__ + __atari__ + __i386__ + __cats__ + __powerpc__ + __galileo__ + __sparc64__ + __hppa__ +__amd64__ != 1)
+#if (__alpha__ + __atari__ + __i386__ + __cats__ + __powerpc__ + __galileo__ + __sparc64__ + __hppa__ +__amd64__ + __sgi__ != 1)
#error COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE.
#endif
#if __alpha__
@@ -78,6 +78,9 @@ struct pcibus_attach_args;
#if __galileo__
#include <galileo/pci/pci_machdep.h>
#endif
+#if __sgi__
+#include <sgi/pci/pci_machdep.h>
+#endif
#if __hppa__
#include <hppa/include/pci_machdep.h>
#endif