summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-07-21 21:20:06 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-07-21 21:20:06 +0000
commit59af791344c0dc6cbea0edeafc20bf4b4f47db9b (patch)
tree405d9c2e260dcca961158151d68db26580614c30 /sys/arch/hppa
parent2101770a4c160b5b9b3f09d1779ada990fd821e5 (diff)
Change the rbus md_space_{map,unmap} signature to take a rbus_tag_t instead
of the bus_space_tag_t it contains; an upcoming implementation will need to know the rbus_tag_t for which it works at this point. All callers updated accordingly; no functional change intended.
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/include/rbus_machdep.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/hppa/include/rbus_machdep.h b/sys/arch/hppa/include/rbus_machdep.h
index 8298e6be799..3ae9ac5b0de 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.3 2007/12/16 14:34:37 kettenis Exp $ */
+/* $OpenBSD: rbus_machdep.h,v 1.4 2009/07/21 21:20:03 miod Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
@@ -31,7 +31,8 @@
#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)
+md_space_map(rbus_tag_t rbt, bus_addr_t bpa, bus_size_t size, int flags,
+ bus_space_handle_t *bshp)
{
if (bshp)
*(bshp) = bpa;
@@ -39,7 +40,7 @@ md_space_map(bus_space_tag_t t, bus_addr_t bpa, bus_size_t size, int flags, bus
return (0);
}
-#define md_space_unmap(t,bsh,s,addrp) do { *(addrp) = (bsh); } while (0)
+#define md_space_unmap(rbt,bsh,s,addrp) do { *(addrp) = (bsh); } while (0)
struct pci_attach_args;