Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt TAB/space cleanup.



details:   https://anonhg.NetBSD.org/src/rev/70416f823b73
branches:  trunk
changeset: 551812:70416f823b73
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Sep 12 14:59:11 2003 +0000

description:
TAB/space cleanup.

diffstat:

 sys/arch/cobalt/cobalt/console.c    |   6 +++---
 sys/arch/cobalt/cobalt/disksubr.c   |  12 ++++++------
 sys/arch/cobalt/cobalt/machdep.c    |  22 +++++++++++-----------
 sys/arch/cobalt/cobalt/mainbus.c    |  10 +++++-----
 sys/arch/cobalt/dev/panel.c         |   6 +++---
 sys/arch/cobalt/include/disklabel.h |  10 +++++-----
 sys/arch/cobalt/include/intr.h      |  12 ++++++------
 sys/arch/cobalt/include/nvram.h     |   4 ++--
 sys/arch/cobalt/pci/pci_machdep.c   |   8 ++++----
 sys/arch/cobalt/pci/pcib.c          |  18 +++++++++---------
 10 files changed, 54 insertions(+), 54 deletions(-)

diffs (truncated from 387 to 300 lines):

diff -r 8af21d6eb9a9 -r 70416f823b73 sys/arch/cobalt/cobalt/console.c
--- a/sys/arch/cobalt/cobalt/console.c  Fri Sep 12 14:52:38 2003 +0000
+++ b/sys/arch/cobalt/cobalt/console.c  Fri Sep 12 14:59:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: console.c,v 1.4 2003/07/15 01:29:22 lukem Exp $        */
+/*     $NetBSD: console.c,v 1.5 2003/09/12 14:59:11 tsutsui Exp $      */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -26,11 +26,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: console.c,v 1.4 2003/07/15 01:29:22 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: console.c,v 1.5 2003/09/12 14:59:11 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/user.h>
-#include <sys/uio.h> 
+#include <sys/uio.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
 #include <sys/device.h>
diff -r 8af21d6eb9a9 -r 70416f823b73 sys/arch/cobalt/cobalt/disksubr.c
--- a/sys/arch/cobalt/cobalt/disksubr.c Fri Sep 12 14:52:38 2003 +0000
+++ b/sys/arch/cobalt/cobalt/disksubr.c Fri Sep 12 14:59:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disksubr.c,v 1.12 2003/08/07 16:27:16 agc Exp $        */
+/*     $NetBSD: disksubr.c,v 1.13 2003/09/12 14:59:12 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.12 2003/08/07 16:27:16 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.13 2003/09/12 14:59:12 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -44,7 +44,7 @@
 static struct mbr_partition *
 mbr_findslice(struct mbr_partition* dp, struct buf *bp);
 
-/* 
+/*
  * Scan MBR for NetBSD partittion.  Return NO_MBR_SIGNATURE if no MBR found
  * Otherwise, copy valid MBR partition-table into dp, and if a NetBSD
  * partition is found, return a pointer to it; else return  NULL.
@@ -182,7 +182,7 @@
                                /* update disklabel with details */
                                lp->d_partitions[2].p_size =
                                    dp->mbrp_size;
-                               lp->d_partitions[2].p_offset = 
+                               lp->d_partitions[2].p_offset =
                                    dp->mbrp_start;
                        }
                }
@@ -314,8 +314,8 @@
                        npp->p_cpg = opp->p_cpg;
                }
        }
-       nlp->d_checksum = 0;
-       nlp->d_checksum = dkcksum(nlp);
+       nlp->d_checksum = 0;
+       nlp->d_checksum = dkcksum(nlp);
        *olp = *nlp;
        return (0);
 }
diff -r 8af21d6eb9a9 -r 70416f823b73 sys/arch/cobalt/cobalt/machdep.c
--- a/sys/arch/cobalt/cobalt/machdep.c  Fri Sep 12 14:52:38 2003 +0000
+++ b/sys/arch/cobalt/cobalt/machdep.c  Fri Sep 12 14:59:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.44 2003/07/15 01:29:22 lukem Exp $       */
+/*     $NetBSD: machdep.c,v 1.45 2003/09/12 14:59:12 tsutsui Exp $     */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.44 2003/07/15 01:29:22 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.45 2003/09/12 14:59:12 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -85,7 +85,7 @@
 /* For sysctl. */
 extern char cpu_model[];
 
-/* Our exported CPU info; we can have only one. */  
+/* Our exported CPU info; we can have only one. */
 struct cpu_info cpu_info_store;
 
 /* Maps for VM objects. */
@@ -131,7 +131,7 @@
        unsigned int memsize;
 {
        caddr_t kernend, v;
-        u_long first, last;
+       u_long first, last;
        vsize_t size;
        extern char edata[], end[];
 
@@ -187,9 +187,9 @@
                Debugger();
 #endif
 #ifdef KGDB
-        if (boothowto & RB_KDB)
-                kgdb_connect(0);
-#endif    
+       if (boothowto & RB_KDB)
+               kgdb_connect(0);
+#endif
 
        strcpy(cpu_model, "Cobalt Microserver");
 
@@ -217,7 +217,7 @@
        /*
         * Allocate space for proc0's USPACE.
         */
-       v = (caddr_t)uvm_pageboot_alloc(USPACE); 
+       v = (caddr_t)uvm_pageboot_alloc(USPACE);
        lwp0.l_addr = proc0paddr = (struct user *)v;
        lwp0.l_md.md_regs = (struct frame *)(v + USPACE) - 1;
        curpcb = &lwp0.l_addr->u_pcb;
@@ -229,7 +229,7 @@
         * memory is directly addressable.  We don't have to map these into
         * virtual address space.
         */
-       v = (caddr_t)uvm_pageboot_alloc(size); 
+       v = (caddr_t)uvm_pageboot_alloc(size);
        if ((allocsys(v, NULL) - v) != size)
                panic("mach_init: table size inconsistency");
 }
@@ -451,7 +451,7 @@
 {
        struct cobalt_intr *p = cookie;
 
-        if (p->cookie_type == COBALT_COOKIE_TYPE_CPU) {
+       if (p->cookie_type == COBALT_COOKIE_TYPE_CPU) {
                p->func = NULL;
                p->arg = NULL;
        }
@@ -550,7 +550,7 @@
                        } else
                        if(0 == memcmp("root=", work, 5)) {
                                root_bstr = (equ +1);
-                       } 
+                       }
                } else
 
                /* else it a single value, switch and process */
diff -r 8af21d6eb9a9 -r 70416f823b73 sys/arch/cobalt/cobalt/mainbus.c
--- a/sys/arch/cobalt/cobalt/mainbus.c  Fri Sep 12 14:52:38 2003 +0000
+++ b/sys/arch/cobalt/cobalt/mainbus.c  Fri Sep 12 14:59:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mainbus.c,v 1.7 2003/07/15 01:29:22 lukem Exp $        */
+/*     $NetBSD: mainbus.c,v 1.8 2003/09/12 14:59:13 tsutsui Exp $      */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.7 2003/07/15 01:29:22 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.8 2003/09/12 14:59:13 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -71,16 +71,16 @@
         */
 
        printf("\n");
-       
+
        config_search(mainbus_search, self, ma);
 }
 
 static int
 mainbus_search(parent, cf, aux)
        struct device *parent;
-       struct cfdata *cf; 
+       struct cfdata *cf;
        void *aux;
-{ 
+{
        struct mainbus_attach_args *ma = aux;
 
        do {
diff -r 8af21d6eb9a9 -r 70416f823b73 sys/arch/cobalt/dev/panel.c
--- a/sys/arch/cobalt/dev/panel.c       Fri Sep 12 14:52:38 2003 +0000
+++ b/sys/arch/cobalt/dev/panel.c       Fri Sep 12 14:59:11 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: panel.c,v 1.2 2003/07/15 01:29:23 lukem Exp $ */
+/* $NetBSD: panel.c,v 1.3 2003/09/12 14:59:14 tsutsui Exp $ */
 
 /*
  * Copyright (c) 2002 Dennis I. Chernoivanov
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: panel.c,v 1.2 2003/07/15 01:29:23 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: panel.c,v 1.3 2003/09/12 14:59:14 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -193,7 +193,7 @@
        int error;
        u_int8_t b;
        struct panel_softc *sc = device_lookup(&panel_cd, minor(dev));
- 
+
        if (uio->uio_resid < sizeof(b))
                return EIO;
 
diff -r 8af21d6eb9a9 -r 70416f823b73 sys/arch/cobalt/include/disklabel.h
--- a/sys/arch/cobalt/include/disklabel.h       Fri Sep 12 14:52:38 2003 +0000
+++ b/sys/arch/cobalt/include/disklabel.h       Fri Sep 12 14:59:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel.h,v 1.5 2000/06/28 09:40:59 soren Exp $      */
+/*     $NetBSD: disklabel.h,v 1.6 2003/09/12 14:59:14 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1994 Christopher G. Demetriou
@@ -40,12 +40,12 @@
 
 /* Pull in MBR partition definitions. */
 #include <sys/disklabel_mbr.h>
- 
-#ifndef __ASSEMBLER__ 
+
+#ifndef __ASSEMBLER__
 #include <sys/dkbad.h>
 struct cpu_disklabel {
-        struct mbr_partition dosparts[NMBRPART];
-        struct dkbad bad;
+       struct mbr_partition dosparts[NMBRPART];
+       struct dkbad bad;
 };
 #endif
 
diff -r 8af21d6eb9a9 -r 70416f823b73 sys/arch/cobalt/include/intr.h
--- a/sys/arch/cobalt/include/intr.h    Fri Sep 12 14:52:38 2003 +0000
+++ b/sys/arch/cobalt/include/intr.h    Fri Sep 12 14:59:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.h,v 1.12 2003/06/16 20:00:59 thorpej Exp $        */
+/*     $NetBSD: intr.h,v 1.13 2003/09/12 14:59:15 tsutsui Exp $        */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -42,9 +42,9 @@
 #define IST_LEVEL      3       /* level-triggered */
 
 /* Soft interrupt masks. */
-#define SIR_CLOCK      31 
-#define SIR_NET                30 
-#define SIR_CLOCKMASK  ((1 << SIR_CLOCK)) 
+#define SIR_CLOCK      31
+#define SIR_NET                30
+#define SIR_CLOCKMASK  ((1 << SIR_CLOCK))
 #define SIR_NETMASK    ((1 << SIR_NET) | SIR_CLOCKMASK)
 #define SIR_ALLMASK    (SIR_CLOCKMASK | SIR_NETMASK)
 
@@ -54,7 +54,7 @@
 #include <mips/cpuregs.h>
 
 extern int             _splraise(int);
-extern int             _spllower(int);      
+extern int             _spllower(int);
 extern int             _splset(int);
 extern int             _splget(void);
 extern void            _splnone(void);
@@ -89,7 +89,7 @@
 
 extern unsigned int    intrcnt[];
 #define SOFTCLOCK_INTR 0
-#define SOFTNET_INTR   1  
+#define SOFTNET_INTR   1
 
 #endif /* !_LOCORE */
 #endif /* _LOCORE */
diff -r 8af21d6eb9a9 -r 70416f823b73 sys/arch/cobalt/include/nvram.h
--- a/sys/arch/cobalt/include/nvram.h   Fri Sep 12 14:52:38 2003 +0000
+++ b/sys/arch/cobalt/include/nvram.h   Fri Sep 12 14:59:11 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nvram.h,v 1.1 2000/03/19 23:07:47 soren Exp $  */
+/*     $NetBSD: nvram.h,v 1.2 2003/09/12 14:59:15 tsutsui Exp $        */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang.  All rights reserved.
@@ -36,7 +36,7 @@
 /*
  * Board revision
  */
-        



Home | Main Index | Thread Index | Old Index