summaryrefslogtreecommitdiff
path: root/sys/dev/cardbus/rbus.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-06-26 00:58:39 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-06-26 00:58:39 +0000
commit394e5c1a2aa0c8a5648d113883a925d54e7d9a39 (patch)
tree5a01520453890eb77c362afcedc7953a7f346021 /sys/dev/cardbus/rbus.c
parent7d0142911cb49693741f68821628b144384f4a2c (diff)
alignment for extent_alloc_subregion cannot be zero
Diffstat (limited to 'sys/dev/cardbus/rbus.c')
-rw-r--r--sys/dev/cardbus/rbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/rbus.c b/sys/dev/cardbus/rbus.c
index 0a315f3a25e..7e2c0437c1a 100644
--- a/sys/dev/cardbus/rbus.c
+++ b/sys/dev/cardbus/rbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbus.c,v 1.5 2002/06/07 02:06:09 nordin Exp $ */
+/* $OpenBSD: rbus.c,v 1.6 2003/06/26 00:58:38 mickey Exp $ */
/* $NetBSD: rbus.c,v 1.3 1999/11/06 06:20:53 soren Exp $ */
/*
* Copyright (c) 1999
@@ -130,7 +130,7 @@ rbus_space_alloc_subregion(rbt, substart, subend, addr, size, mask, align, flags
/* maybe, the resister is overflowed. */
if (extent_alloc_subregion(rbt->rb_ext, addr, addr + size, size,
- 0, 0, 0, exflags, (u_long *)&result)) {
+ 1, 0, 0, exflags, (u_long *)&result)) {
return 1;
}
} else {