diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2005-05-24 19:39:51 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2005-05-24 19:39:51 +0000 |
commit | 5efe66fef58c106bfd79d5d8ef638e42b1760dbc (patch) | |
tree | 5db3571949be9eddf1ebf493883a3e5d16f195de /sys/arch/hppa | |
parent | 42f085fa4408e033e1a9b24a138bc932345de87d (diff) |
wrap into nice defines
ok mickey@
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/include/rbus_machdep.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/rbus_machdep.h b/sys/arch/hppa/include/rbus_machdep.h index d980299670d..516978893d3 100644 --- a/sys/arch/hppa/include/rbus_machdep.h +++ b/sys/arch/hppa/include/rbus_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rbus_machdep.h,v 1.1 2004/08/06 20:29:47 mickey Exp $ */ +/* $OpenBSD: rbus_machdep.h,v 1.2 2005/05/24 19:39:50 martin Exp $ */ /* * Copyright (c) 2004 Michael Shalayeff @@ -26,6 +26,10 @@ * THE POSSIBILITY OF SUCH DAMAGE. */ + +#if !defined _ARCH_HPPA_HPPA_RBUS_MACHDEP_H_ +#define _ARCH_HPPA_HPPA_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) { @@ -41,3 +45,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_HPPA_HPPA_RBUS_MACHDEP_H_ */ |