Module Name: src
Committed By: kiyohara
Date: Mon Apr 19 06:55:11 UTC 2010
Modified Files:
src/sys/arch/powerpc/pci: pci_machdep_ofw.c
Log Message:
Remove white-spaces.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/powerpc/pci/pci_machdep_ofw.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/powerpc/pci/pci_machdep_ofw.c
diff -u src/sys/arch/powerpc/pci/pci_machdep_ofw.c:1.12 src/sys/arch/powerpc/pci/pci_machdep_ofw.c:1.13
--- src/sys/arch/powerpc/pci/pci_machdep_ofw.c:1.12 Mon Apr 28 20:23:32 2008
+++ src/sys/arch/powerpc/pci/pci_machdep_ofw.c Mon Apr 19 06:55:11 2010
@@ -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", ®, 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)