summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-05-24 19:39:51 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-05-24 19:39:51 +0000
commit5efe66fef58c106bfd79d5d8ef638e42b1760dbc (patch)
tree5db3571949be9eddf1ebf493883a3e5d16f195de /sys/arch/hppa64
parent42f085fa4408e033e1a9b24a138bc932345de87d (diff)
wrap into nice defines
ok mickey@
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r--sys/arch/hppa64/include/rbus_machdep.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/hppa64/include/rbus_machdep.h b/sys/arch/hppa64/include/rbus_machdep.h
index 963e54b89ff..1d6a2252145 100644
--- a/sys/arch/hppa64/include/rbus_machdep.h
+++ b/sys/arch/hppa64/include/rbus_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbus_machdep.h,v 1.1 2005/04/01 10:40:48 mickey Exp $ */
+/* $OpenBSD: rbus_machdep.h,v 1.2 2005/05/24 19:39:50 martin Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -17,6 +17,10 @@
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+
+#if !defined _ARCH_HPPA64_HPPA64_RBUS_MACHDEP_H_
+#define _ARCH_HPPA64_HPPA64_RBUS_MACHDEP_H_
+
static __inline int
md_space_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, int flags, bus_space_handle_t *bshp)
{
@@ -32,3 +36,5 @@ struct pci_attach_args;
#define rbus_pccbb_parent_mem(d, p) (*(p)->pa_pc->pc_alloc_parent)((d), (p), 0)
#define rbus_pccbb_parent_io(d, p) (*(p)->pa_pc->pc_alloc_parent)((d), (p), 1)
+
+#endif /* _ARCH_HPPA64_HPPA64_RBUS_MACHDEP_H_ */