summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-08-19 05:17:38 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-08-19 05:17:38 +0000
commitef7d382308d2792d80f735eca09fd3af06dbb586 (patch)
tree45e82cc9f4123f5c0253e03506f4b8e88ddd2b92
parentf80460f1c9d09a87398a7107d48d94f612b0b941 (diff)
sparc64
-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 b06ba8874aa..012210e6b27 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcivar.h,v 1.20 2001/07/20 05:56:25 csapuntz Exp $ */
+/* $OpenBSD: pcivar.h,v 1.21 2001/08/19 05:17:37 art 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__ + __arc__ + __powerpc__ + __galileo__ != 1)
+#if (__alpha__ + __atari__ + __i386__ + __arc__ + __powerpc__ + __galileo__ + __sparc64__ != 1)
ERROR: COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE.
#endif
#if __alpha__
@@ -75,6 +75,9 @@ ERROR: COMPILING FOR UNSUPPORTED MACHINE, OR MORE THAN ONE.
#if __galileo__
#include <galileo/pci/pci_machdep.h>
#endif
+#if __sparc64__
+#include <sparc64/include/pci_machdep.h>
+#endif
/*
* PCI bus attach arguments.