Module Name:    src
Committed By:   kiyohara
Date:           Wed Mar 10 18:06:57 UTC 2010

Modified Files:
        src/sys/arch/ofppc/ofppc: locore.S machdep.c mainbus.c

Log Message:
Remove white-spaces.
Indent.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/ofppc/ofppc/locore.S
cvs rdiff -u -r1.110 -r1.111 src/sys/arch/ofppc/ofppc/machdep.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/ofppc/ofppc/mainbus.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/ofppc/ofppc/locore.S
diff -u src/sys/arch/ofppc/ofppc/locore.S:1.43 src/sys/arch/ofppc/ofppc/locore.S:1.44
--- src/sys/arch/ofppc/ofppc/locore.S:1.43	Thu Feb 25 23:33:45 2010
+++ src/sys/arch/ofppc/ofppc/locore.S	Wed Mar 10 18:06:57 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore.S,v 1.43 2010/02/25 23:33:45 matt Exp $	*/
+/*	$NetBSD: locore.S,v 1.44 2010/03/10 18:06:57 kiyohara Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -129,7 +129,7 @@
 	bl	_C_LABEL(initppc)
 	bl	_C_LABEL(main)
 	b	_C_LABEL(OF_exit)
-	
+
 /*
  * Pull in common OFW code.
  */

Index: src/sys/arch/ofppc/ofppc/machdep.c
diff -u src/sys/arch/ofppc/ofppc/machdep.c:1.110 src/sys/arch/ofppc/ofppc/machdep.c:1.111
--- src/sys/arch/ofppc/ofppc/machdep.c:1.110	Thu Feb 25 23:33:45 2010
+++ src/sys/arch/ofppc/ofppc/machdep.c	Wed Mar 10 18:06:57 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.110 2010/02/25 23:33:45 matt Exp $	*/
+/*	$NetBSD: machdep.c,v 1.111 2010/03/10 18:06:57 kiyohara Exp $	*/
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.110 2010/02/25 23:33:45 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.111 2010/03/10 18:06:57 kiyohara Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -391,7 +391,8 @@
 	}
 	if (!of_to_uint32_prop(dict, node, "address", "address")) {
 		uint32_t fbaddr = 0;
-			OF_interpret("frame-buffer-adr", 0, 1, &fbaddr);
+
+		OF_interpret("frame-buffer-adr", 0, 1, &fbaddr);
 		if (fbaddr != 0)
 			prop_dictionary_set_uint32(dict, "address", fbaddr);
 	}

Index: src/sys/arch/ofppc/ofppc/mainbus.c
diff -u src/sys/arch/ofppc/ofppc/mainbus.c:1.24 src/sys/arch/ofppc/ofppc/mainbus.c:1.25
--- src/sys/arch/ofppc/ofppc/mainbus.c:1.24	Fri Jan 15 20:57:25 2010
+++ src/sys/arch/ofppc/ofppc/mainbus.c	Wed Mar 10 18:06:57 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: mainbus.c,v 1.24 2010/01/15 20:57:25 phx Exp $	*/
+/*	$NetBSD: mainbus.c,v 1.25 2010/03/10 18:06:57 kiyohara Exp $	*/
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.24 2010/01/15 20:57:25 phx Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.25 2010/03/10 18:06:57 kiyohara Exp $");
 
 #include "opt_interrupt.h"
 #include "opt_multiprocessor.h"
@@ -152,7 +152,7 @@
 	if (len < sizeof(int)*2)
 		return FALSE;
 
-	if (len == sizeof(int)*2) {	
+	if (len == sizeof(int)*2) {
 		baseaddr = (unsigned char *)mapiodev(reg[0], reg[1]);
 		aprint_verbose("Found openpic at %08x\n", reg[0]);
 #ifdef PIC_OPENPIC
@@ -179,7 +179,7 @@
 		return FALSE;
 	if (i > OPENPIC_MAX_ISUS)
 		aprint_error("Increase OPENPIC_MAX_ISUS to %d\n", i);
-	
+
 	baseaddr = (unsigned char *)mapiodev(reg[0], 0x40000);
 	aprint_verbose("Found openpic at %08x\n", reg[0]);
 

Reply via email to