summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-09-29 18:53:59 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-09-29 18:53:59 +0000
commitb2ba974c9b6802e7ab3d776db1f051466d36c23e (patch)
tree251d6f01d88512d5826e5f0d7d51c08321e1b7ff /sys
parent7a19818ca235f8dd2b118567be3ec3d0ea30b9e2 (diff)
pci support for hppa
Diffstat (limited to 'sys')
-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 ff31a0fcf40..b8c51460929 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcivar.h,v 1.30 2003/04/27 11:22:54 ho Exp $ */
+/* $OpenBSD: pcivar.h,v 1.31 2003/09/29 18:53:58 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__ + __arc__ + __powerpc__ + __galileo__ + __sparc64__ != 1)
+#if (__alpha__ + __atari__ + __i386__ + __arc__ + __powerpc__ + __galileo__ + __sparc64__ + __hppa__ != 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 __hppa__
+#include <hppa/include/pci_machdep.h>
+#endif
#if __sparc64__
#include <sparc64/include/pci_machdep.h>
#endif