Fixed debug messages.

This commit is contained in:
takemura 2002-05-04 05:13:28 +00:00
parent ee4a76bc67
commit 28389b6cb5
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus_space.c,v 1.18 2002/04/14 07:59:57 takemura Exp $ */ /* $NetBSD: bus_space.c,v 1.19 2002/05/04 05:13:28 takemura Exp $ */
/*- /*-
* Copyright (c) 1998 The NetBSD Foundation, Inc. * Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -271,7 +271,7 @@ __bs_map(bus_space_tag_t tx, bus_addr_t bpa, bus_size_t size, int flags,
int cacheable = flags & BUS_SPACE_MAP_CACHEABLE; int cacheable = flags & BUS_SPACE_MAP_CACHEABLE;
DPRINTF(("\tbus_space_map:%#lx(%#lx)+%#lx\n", DPRINTF(("\tbus_space_map:%#lx(%#lx)+%#lx\n",
bpa, bpa - t->base, size)); bpa, bpa + t->base, size));
if (!t->extent) { /* Before autoconfiguration, can't use extent */ if (!t->extent) { /* Before autoconfiguration, can't use extent */
DPRINTF(("bus_space_map: map temporary region:" DPRINTF(("bus_space_map: map temporary region:"
@ -281,6 +281,8 @@ __bs_map(bus_space_tag_t tx, bus_addr_t bpa, bus_size_t size, int flags,
bpa += t->base; bpa += t->base;
if ((err = extent_alloc_region(t->extent, bpa, size, if ((err = extent_alloc_region(t->extent, bpa, size,
EX_NOWAIT|EX_MALLOCOK))) { EX_NOWAIT|EX_MALLOCOK))) {
DPRINTF(("\tbus_space_map: "
"extent_alloc_regiion() failed\n"));
return (err); return (err);
} }
} }