Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/303ff153e1c2
branches:  trunk
changeset: 754076:303ff153e1c2
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Mon Apr 19 06:55:11 2010 +0000

description:
Remove white-spaces.

diffstat:

 sys/arch/powerpc/pci/pci_machdep_ofw.c |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (66 lines):

diff -r e4a5d7198eda -r 303ff153e1c2 sys/arch/powerpc/pci/pci_machdep_ofw.c
--- a/sys/arch/powerpc/pci/pci_machdep_ofw.c    Mon Apr 19 05:50:36 2010 +0000
+++ b/sys/arch/powerpc/pci/pci_machdep_ofw.c    Mon Apr 19 06:55:11 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_machdep_ofw.c,v 1.12 2008/04/28 20:23:32 martin Exp $ */
+/* $NetBSD: pci_machdep_ofw.c,v 1.13 2010/04/19 06:55:11 kiyohara Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_machdep_ofw.c,v 1.12 2008/04/28 20:23:32 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_machdep_ofw.c,v 1.13 2010/04/19 06:55:11 kiyohara Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -126,10 +126,10 @@
                }
 
                irgot = OF_getprop(node, "reg", reg, sizeof(reg));
-               
+
                if (!picnodes[nrofpics].intrs)
                        picnodes[nrofpics].intrs = 16;
-               
+
                if (nrofpics > 0)
                        picnodes[nrofpics].offset = picnodes[nrofpics-1].offset
                            + picnodes[nrofpics-1].intrs;
@@ -181,7 +181,7 @@
                        continue;
                if (picnodes[i].type == PICNODE_TYPE_IVR)
                        continue;
-               
+
                picnodes[i].offset = curoff;
                curoff += picnodes[i].intrs;
        }
@@ -348,7 +348,7 @@
 {
        int node, sz, p=0;
        uint32_t reg;
-       
+
        for (node = startnode; node; node = p) {
                sz = OF_getprop(node, "reg", &reg, sizeof(reg));
                if (sz != sizeof(reg))
@@ -500,14 +500,14 @@
                        return (PCI_CONF_ALL & ~PCI_CONF_MAP_IO);
 
        }
-       
+
        tag = pci_make_tag(pct, bus, dev, func);
        class = pci_conf_read(pct, tag, PCI_CLASS_REG);
 
        /* leave video cards alone */
        if (PCI_CLASS(class) == PCI_CLASS_DISPLAY)
                return 0;
-       
+
        /* NOTE, all device specific stuff must be above this line */
        /* don't do this on the primary host bridge */
        if (bus == 0 && dev == 0 && func == 0)



Home | Main Index | Thread Index | Old Index