diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-21 21:20:06 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-21 21:20:06 +0000 |
commit | 59af791344c0dc6cbea0edeafc20bf4b4f47db9b (patch) | |
tree | 405d9c2e260dcca961158151d68db26580614c30 /sys/dev | |
parent | 2101770a4c160b5b9b3f09d1779ada990fd821e5 (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/dev')
-rw-r--r-- | sys/dev/cardbus/rbus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cardbus/rbus.c b/sys/dev/cardbus/rbus.c index 0a11c01d563..2f27b01a237 100644 --- a/sys/dev/cardbus/rbus.c +++ b/sys/dev/cardbus/rbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbus.c,v 1.11 2007/09/17 20:29:47 miod Exp $ */ +/* $OpenBSD: rbus.c,v 1.12 2009/07/21 21:20:05 miod Exp $ */ /* $NetBSD: rbus.c,v 1.3 1999/11/06 06:20:53 soren Exp $ */ /* * Copyright (c) 1999 @@ -144,7 +144,7 @@ rbus_space_alloc_subregion(rbus_tag_t rbt, bus_addr_t substart, } } - if (md_space_map(rbt->rb_bt, result, size, flags, bshp)) { + if (md_space_map(rbt, result, size, flags, bshp)) { /* map failed */ extent_free(rbt->rb_ext, result, size, exflags); return (1); @@ -172,7 +172,7 @@ rbus_space_free(rbus_tag_t rbt, bus_space_handle_t bsh, bus_size_t size, status = rbus_space_free(rbt->rb_parent, bsh, size, &addr); } else if (rbt->rb_flags == RBUS_SPACE_SHARE || rbt->rb_flags == RBUS_SPACE_DEDICATE) { - md_space_unmap(rbt->rb_bt, bsh, size, &addr); + md_space_unmap(rbt, bsh, size, &addr); extent_free(rbt->rb_ext, addr, size, exflags); |