summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
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/amd64/include
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/amd64/include')
-rw-r--r--sys/arch/amd64/include/rbus_machdep.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/amd64/include/rbus_machdep.h b/sys/arch/amd64/include/rbus_machdep.h
index f61370b904a..ad7f47a104e 100644
--- a/sys/arch/amd64/include/rbus_machdep.h
+++ b/sys/arch/amd64/include/rbus_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbus_machdep.h,v 1.4 2008/07/02 03:00:00 fgsch Exp $ */
+/* $OpenBSD: rbus_machdep.h,v 1.5 2009/07/21 21:20:01 miod Exp $ */
/* $NetBSD: rbus_machdep.h,v 1.2 1999/10/15 06:43:05 haya Exp $ */
/*
@@ -36,11 +36,11 @@
struct pci_attach_args; /* XXX */
-#define md_space_map(bt, physaddr, size, flags, bshp) \
- _bus_space_map((bt), (physaddr), (size), (flags), (bshp))
+#define md_space_map(rbt, physaddr, size, flags, bshp) \
+ _bus_space_map((rbt)->rb_bt, (physaddr), (size), (flags), (bshp))
-#define md_space_unmap(bt, bsh, size, adrp) \
- _bus_space_unmap((bt), (bsh), (size), (adrp))
+#define md_space_unmap(rbt, bsh, size, adrp) \
+ _bus_space_unmap((rbt)->rb_bt, (bsh), (size), (adrp))
rbus_tag_t rbus_pccbb_parent_io(struct device *,
struct pci_attach_args *);