Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips in unmap():



details:   https://anonhg.NetBSD.org/src/rev/e793c199432a
branches:  trunk
changeset: 806244:e793c199432a
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Feb 12 13:29:15 2015 +0000

description:
in unmap():
- fix pasto in debug output
- shut up a set-but-not-used warning

diffstat:

 sys/arch/mips/mips/bus_space_alignstride_chipdep.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 68a16c59f071 -r e793c199432a sys/arch/mips/mips/bus_space_alignstride_chipdep.c
--- a/sys/arch/mips/mips/bus_space_alignstride_chipdep.c        Thu Feb 12 13:07:37 2015 +0000
+++ b/sys/arch/mips/mips/bus_space_alignstride_chipdep.c        Thu Feb 12 13:29:15 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.20 2015/02/08 15:22:33 macallan Exp $ */
+/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.21 2015/02/12 13:29:15 macallan Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.20 2015/02/08 15:22:33 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.21 2015/02/12 13:29:15 macallan Exp $");
 
 #ifdef CHIP_EXTENT
 #include <sys/extent.h>
@@ -487,12 +487,12 @@
                printf("\n");
 #ifdef CHIP_W1_BUS_START
                printf("%s: sys window[1]=0x%lx-0x%lx\n",
-                   __S(__BS(map)), (u_long)CHIP_W1_SYS_START(v),
+                   __S(__BS(unmap)), (u_long)CHIP_W1_SYS_START(v),
                    (u_long)CHIP_W1_SYS_END(v));
 #endif
 #ifdef CHIP_W2_BUS_START
                printf("%s: sys window[2]=0x%lx-0x%lx\n",
-                   __S(__BS(map)), (u_long)CHIP_W2_SYS_START(v),
+                   __S(__BS(unmap)), (u_long)CHIP_W2_SYS_START(v),
                    (u_long)CHIP_W2_SYS_END(v));
 #endif
 #ifdef CHIP_W3_BUS_START
@@ -518,6 +518,7 @@
 #endif
        }       
 #endif /* CHIP_EXTENT */
+       __USE(addr);
 }
 
 static int



Home | Main Index | Thread Index | Old Index