Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcmips/hpcmips Fixed debug messages.



details:   https://anonhg.NetBSD.org/src/rev/2c56deeb6edf
branches:  trunk
changeset: 526476:2c56deeb6edf
user:      takemura <takemura%NetBSD.org@localhost>
date:      Sat May 04 05:13:28 2002 +0000

description:
Fixed debug messages.

diffstat:

 sys/arch/hpcmips/hpcmips/bus_space.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 469c7dbea107 -r 2c56deeb6edf sys/arch/hpcmips/hpcmips/bus_space.c
--- a/sys/arch/hpcmips/hpcmips/bus_space.c      Sat May 04 04:50:46 2002 +0000
+++ b/sys/arch/hpcmips/hpcmips/bus_space.c      Sat May 04 05:13:28 2002 +0000
@@ -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.
@@ -271,7 +271,7 @@
        int cacheable = flags & BUS_SPACE_MAP_CACHEABLE;
 
        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 */
                DPRINTF(("bus_space_map: map temporary region:"
@@ -281,6 +281,8 @@
                bpa += t->base;
                if ((err = extent_alloc_region(t->extent, bpa, size, 
                    EX_NOWAIT|EX_MALLOCOK))) {
+                       DPRINTF(("\tbus_space_map: "
+                           "extent_alloc_regiion() failed\n"));
                        return (err);
                }
        }



Home | Main Index | Thread Index | Old Index