Module Name:    src
Committed By:   macallan
Date:           Thu Feb 12 13:29:15 UTC 2015

Modified Files:
        src/sys/arch/mips/mips: bus_space_alignstride_chipdep.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 \
    src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c
diff -u src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c:1.20 src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c:1.21
--- src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c:1.20	Sun Feb  8 15:22:33 2015
+++ src/sys/arch/mips/mips/bus_space_alignstride_chipdep.c	Thu Feb 12 13:29:15 2015
@@ -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 @@ __BS(unmap)(void *v, bus_space_handle_t 
 		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 @@ __BS(unmap)(void *v, bus_space_handle_t 
 #endif
 	}	
 #endif /* CHIP_EXTENT */
+	__USE(addr);
 }
 
 static int

Reply via email to