From bed2ac704f38d42abea39966447b9981845f6dc9 Mon Sep 17 00:00:00 2001 From: haya Date: Tue, 10 Jul 2001 10:33:55 +0000 Subject: [PATCH] Bug fix: call extent_subregion() with alignment = 1 instead of 0. --- sys/dev/cardbus/rbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/cardbus/rbus.c b/sys/dev/cardbus/rbus.c index 96725694ac46..3762da085513 100644 --- a/sys/dev/cardbus/rbus.c +++ b/sys/dev/cardbus/rbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: rbus.c,v 1.8 2000/05/30 09:18:06 haya Exp $ */ +/* $NetBSD: rbus.c,v 1.9 2001/07/10 10:33:55 haya Exp $ */ /* * Copyright (c) 1999 and 2000 * HAYAKAWA Koichi. All rights reserved. @@ -131,7 +131,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, exflags, (u_long *)&result)) { + addr + size, size, 1, 0, exflags, (u_long *)&result)) { return 1; } } else {