diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-05 10:00:50 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-05 10:00:50 +0000 |
commit | 1e2cb14a7562811bb477e028c5c11fbf1f89176f (patch) | |
tree | ce5329ce6874a2f327d77ef99c3fc8767b1a680c /sys/dev/cardbus | |
parent | 1a1b7b490a3552db79a9bc6aa95a2de2faf5b30a (diff) |
Get rid of the wrapper macros around extent_alloc*1
Pass the right amount of arguments and rename them back to their right names.
Diffstat (limited to 'sys/dev/cardbus')
-rw-r--r-- | sys/dev/cardbus/rbus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cardbus/rbus.c b/sys/dev/cardbus/rbus.c index 6034ee65fe2..7110cb0fc69 100644 --- a/sys/dev/cardbus/rbus.c +++ b/sys/dev/cardbus/rbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rbus.c,v 1.2 2000/05/31 15:52:50 aaron Exp $ */ +/* $OpenBSD: rbus.c,v 1.3 2001/07/05 10:00:43 art Exp $ */ /* $NetBSD: rbus.c,v 1.3 1999/11/06 06:20:53 soren Exp $ */ /* * Copyright (c) 1999 @@ -123,14 +123,14 @@ rbus_space_alloc_subregion(rbt, substart, subend, addr, size, mask, align, flags if (decodesize == align) { if(extent_alloc_subregion(rbt->rb_ext, substart, subend, size, align, 0, - exflags, (u_long *)&result)) { + 0, exflags, (u_long *)&result)) { return 1; } } else if (decodesize == 0) { /* maybe, the resister is overflowed. */ if (extent_alloc_subregion(rbt->rb_ext, addr, addr + size, size, - 0, 0, exflags, (u_long *)&result)) { + 0, 0, 0, exflags, (u_long *)&result)) { return 1; } } else { @@ -146,7 +146,7 @@ rbus_space_alloc_subregion(rbt, substart, subend, addr, size, mask, align, flags val = 1; for (; search_addr + size <= subend; search_addr += boundary) { val = extent_alloc_subregion(rbt->rb_ext,search_addr, search_addr+size, - size, align, 0, exflags, (u_long *)&result); + size, align, 0, 0, exflags, (u_long *)&result); DPRINTF(("rbus: trying [%lx:%lx] %lx\n", search_addr, search_addr+size, align)); if (val == 0) { |