Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ofppc/ofppc Remove white-spaces.



details:   https://anonhg.NetBSD.org/src/rev/4299406d9844
branches:  trunk
changeset: 752897:4299406d9844
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Wed Mar 10 18:06:57 2010 +0000

description:
Remove white-spaces.
Indent.

diffstat:

 sys/arch/ofppc/ofppc/locore.S  |  4 ++--
 sys/arch/ofppc/ofppc/machdep.c |  7 ++++---
 sys/arch/ofppc/ofppc/mainbus.c |  8 ++++----
 3 files changed, 10 insertions(+), 9 deletions(-)

diffs (82 lines):

diff -r 7f64f39511de -r 4299406d9844 sys/arch/ofppc/ofppc/locore.S
--- a/sys/arch/ofppc/ofppc/locore.S     Wed Mar 10 17:40:31 2010 +0000
+++ b/sys/arch/ofppc/ofppc/locore.S     Wed Mar 10 18:06:57 2010 +0000
@@ -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.
  */
diff -r 7f64f39511de -r 4299406d9844 sys/arch/ofppc/ofppc/machdep.c
--- a/sys/arch/ofppc/ofppc/machdep.c    Wed Mar 10 17:40:31 2010 +0000
+++ b/sys/arch/ofppc/ofppc/machdep.c    Wed Mar 10 18:06:57 2010 +0000
@@ -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);
        }
diff -r 7f64f39511de -r 4299406d9844 sys/arch/ofppc/ofppc/mainbus.c
--- a/sys/arch/ofppc/ofppc/mainbus.c    Wed Mar 10 17:40:31 2010 +0000
+++ b/sys/arch/ofppc/ofppc/mainbus.c    Wed Mar 10 18:06:57 2010 +0000
@@ -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]);
 



Home | Main Index | Thread Index | Old Index