Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari TAB/spaces/indents cleanup.



details:   https://anonhg.NetBSD.org/src/rev/842323e696df
branches:  trunk
changeset: 372931:842323e696df
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jan 06 10:28:27 2023 +0000

description:
TAB/spaces/indents cleanup.

diffstat:

 sys/arch/atari/atari/atari_init.c     |   40 +-
 sys/arch/atari/atari/autoconf.c       |   20 +-
 sys/arch/atari/atari/be_bus.c         |   14 +-
 sys/arch/atari/atari/bus.c            |    8 +-
 sys/arch/atari/atari/device.h         |    6 +-
 sys/arch/atari/atari/genassym.cf      |   10 +-
 sys/arch/atari/atari/intr.c           |    6 +-
 sys/arch/atari/atari/le_bus.c         |   14 +-
 sys/arch/atari/atari/locore.s         |   38 +-
 sys/arch/atari/atari/mainbus.c        |   10 +-
 sys/arch/atari/atari/pmap_bootstrap.c |    6 +-
 sys/arch/atari/atari/stalloc.c        |   12 +-
 sys/arch/atari/atari/stalloc.h        |    4 +-
 sys/arch/atari/atari/trap.c           |   22 +-
 sys/arch/atari/atari/vectors.s        |    6 +-
 sys/arch/atari/conf/majors.atari      |    4 +-
 sys/arch/atari/dev/atari5380.c        |   13 +-
 sys/arch/atari/dev/dma.c              |    6 +-
 sys/arch/atari/dev/fd.c               |   10 +-
 sys/arch/atari/dev/font_8x16.c        |   14 +-
 sys/arch/atari/dev/font_8x8.c         |   14 +-
 sys/arch/atari/dev/grf.c              |   22 +-
 sys/arch/atari/dev/grf_etreg.h        |    4 +-
 sys/arch/atari/dev/grfabs.c           |    6 +-
 sys/arch/atari/dev/grfabs_et.c        |   20 +-
 sys/arch/atari/dev/grfabs_fal.c       |   34 +-
 sys/arch/atari/dev/grfabs_fal.h       |    4 +-
 sys/arch/atari/dev/grfabs_reg.h       |    4 +-
 sys/arch/atari/dev/grfabs_tt.c        |   10 +-
 sys/arch/atari/dev/grfioctl.h         |   14 +-
 sys/arch/atari/dev/grfvar.h           |    8 +-
 sys/arch/atari/dev/hdfd.c             |   32 +-
 sys/arch/atari/dev/hdfd_intr.s        |    4 +-
 sys/arch/atari/dev/hdfdreg.h          |    4 +-
 sys/arch/atari/dev/ite.c              |  579 +++++++++++++++++----------------
 sys/arch/atari/dev/ite_cc.c           |   66 +-
 sys/arch/atari/dev/ite_et.c           |   76 ++--
 sys/arch/atari/dev/itevar.h           |    8 +-
 sys/arch/atari/dev/kbd.c              |    6 +-
 sys/arch/atari/dev/kbdmap.c           |   22 +-
 sys/arch/atari/dev/lpt.c              |   30 +-
 sys/arch/atari/dev/md_root.c          |    8 +-
 sys/arch/atari/dev/ncr5380.c          |   30 +-
 sys/arch/atari/dev/ncr5380reg.h       |    4 +-
 sys/arch/atari/dev/ncr5380var.h       |   14 +-
 sys/arch/atari/dev/nvram.c            |    8 +-
 sys/arch/atari/dev/ser.c              |   42 +-
 sys/arch/atari/dev/view.c             |   50 +-
 sys/arch/atari/dev/viewioctl.h        |    6 +-
 sys/arch/atari/dev/wdc_mb.c           |    6 +-
 sys/arch/atari/dev/wskbdmap_atari.c   |    8 +-
 sys/arch/atari/dev/zs.c               |   10 +-
 sys/arch/atari/dev/zsvar.h            |    6 +-
 sys/arch/atari/include/cpu.h          |    4 +-
 sys/arch/atari/include/pmap.h         |    8 +-
 sys/arch/atari/include/vmparam.h      |   10 +-
 sys/arch/atari/isa/fdcisa.c           |    6 +-
 sys/arch/atari/isa/isa_hades.c        |    8 +-
 sys/arch/atari/pci/pci_machdep.c      |    9 +-
 sys/arch/atari/pci/pci_milan.c        |    6 +-
 sys/arch/atari/pci/pci_tseng.c        |   20 +-
 sys/arch/atari/pci/pci_vga.c          |   10 +-
 sys/arch/atari/vme/et4000.c           |   16 +-
 sys/arch/atari/vme/if_le_vme.c        |   14 +-
 sys/arch/atari/vme/leo.c              |   68 +-
 sys/arch/atari/vme/vmevar.h           |    4 +-
 66 files changed, 803 insertions(+), 802 deletions(-)

diffs (truncated from 4901 to 300 lines):

diff -r 5670b7bd755d -r 842323e696df sys/arch/atari/atari/atari_init.c
--- a/sys/arch/atari/atari/atari_init.c Fri Jan 06 01:54:22 2023 +0000
+++ b/sys/arch/atari/atari/atari_init.c Fri Jan 06 10:28:27 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atari_init.c,v 1.106 2022/07/03 16:03:08 tsutsui Exp $ */
+/*     $NetBSD: atari_init.c,v 1.107 2023/01/06 10:28:27 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1995 Leo Weppelman
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.106 2022/07/03 16:03:08 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.107 2023/01/06 10:28:27 tsutsui Exp $");
 
 #include "opt_ddb.h"
 #include "opt_mbtype.h"
@@ -120,7 +120,7 @@
  */
 static cpu_kcore_hdr_t cpu_kcore_hdr;
 
-extern u_int   lowram;
+extern u_int   lowram;
 int            machineid, mmutype, cputype, astpending;
 
 extern char            *esym;
@@ -180,16 +180,16 @@
  *     Interrupts are disabled
  *     PA == VA, we don't have to relocate addresses before enabling
  *             the MMU
- *     Exec is no longer available (because we're loaded all over 
+ *     Exec is no longer available (because we're loaded all over
  *             low memory, no ExecBase is available anymore)
  *
  * It's purpose is:
- *     Do the things that are done in locore.s in the hp300 version, 
+ *     Do the things that are done in locore.s in the hp300 version,
  *             this includes allocation of kernel maps and enabling the MMU.
- * 
- * Some of the code in here is `stolen' from Amiga MACH, and was 
+ *
+ * Some of the code in here is `stolen' from Amiga MACH, and was
  * written by Bryan Ford and Niklas Hallqvist.
- * 
+ *
  * Very crude 68040 support by Michael L. Hitch.
  */
 int kernel_copyback = 1;
@@ -199,7 +199,7 @@
     char *esym_addr)
        /* id:                   Machine id                     */
        /* ttphystart, ttphysize: Start address and size of TT-ram */
-       /* stphysize:            Size of ST-ram                 */
+       /* stphysize:            Size of ST-ram                 */
        /* esym_addr:            Address of kernel '_esym' symbol */
 {
        extern char     end[];
@@ -304,7 +304,7 @@
        machineid      = id;
        esym           = esym_addr;
 
-       /* 
+       /*
         * the kernel ends at end() or esym.
         */
        if (esym == NULL)
@@ -448,7 +448,7 @@
                pg_proto += PAGE_SIZE;
        }
 
-       /* 
+       /*
         * data, bss and dynamic tables are read/write
         */
        pg_proto = (pg_proto & PG_FRAME) | PG_RW | PG_V;
@@ -608,8 +608,8 @@
        cpu_init_kcorehdr(kbase, Sysseg_pa);
 
        /*
-        * copy over the kernel (and all now initialized variables) 
-        * to fastram.  DONT use bcopy(), this beast is much larger 
+        * copy over the kernel (and all now initialized variables)
+        * to fastram.  DONT use bcopy(), this beast is much larger
         * than 128k !
         */
        if (kbase) {
@@ -632,8 +632,8 @@
                 */
                if (cputype == CPU_68060) {
                        /* XXX: Need the branch cache be cleared? */
-                       __asm volatile (".word 0x4e7a,0x0002;" 
-                                     "orl #0x400000,%%d0;" 
+                       __asm volatile (".word 0x4e7a,0x0002;"
+                                     "orl #0x400000,%%d0;"
                                      ".word 0x4e7b,0x0002" : : : "d0");
                }
                __asm volatile ("movel %0,%%a0;"
@@ -1101,7 +1101,7 @@
        m->sg_v         = SG_V;
        m->sg_frame     = SG_FRAME;
        m->sg_ishift    = SG_ISHIFT;
-       m->sg_pmask     = SG_PMASK; 
+       m->sg_pmask     = SG_PMASK;
        m->sg40_shift1  = SG4_SHIFT1;
        m->sg40_mask2   = SG4_MASK2;
        m->sg40_shift2  = SG4_SHIFT2;
@@ -1164,7 +1164,7 @@
                pg_proto += PAGE_SIZE;
        }
 
-       /* 
+       /*
         * Invalidate the remainder of the tables.
         */
        esg = (st_entry_t *)sysseg_pa;
@@ -1315,7 +1315,7 @@
                        extern trapfun illinst;
 #endif
 
-                       __asm volatile ("movl %0,%%d0; .word 0x4e7b,0x0808" : : 
+                       __asm volatile ("movl %0,%%d0; .word 0x4e7b,0x0808" : :
                                        "d"(m68060_pcr_init):"d0" );
 
                        /* bus/addrerr vectors */
@@ -1396,8 +1396,8 @@
                shift = SG_ISHIFT;
        }
 
-       /* 
-        * XXX need changes for 68040 
+       /*
+        * XXX need changes for 68040
         */
        for (i = 0; s < es; s++, i++)
                if (*s & SG_V)
diff -r 5670b7bd755d -r 842323e696df sys/arch/atari/atari/autoconf.c
--- a/sys/arch/atari/atari/autoconf.c   Fri Jan 06 01:54:22 2023 +0000
+++ b/sys/arch/atari/atari/autoconf.c   Fri Jan 06 10:28:27 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.73 2022/07/02 13:47:53 tsutsui Exp $    */
+/*     $NetBSD: autoconf.c,v 1.74 2023/01/06 10:28:27 tsutsui Exp $    */
 
 /*
  * Copyright (c) 1995 Leo Weppelman
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.73 2022/07/02 13:47:53 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.74 2023/01/06 10:28:27 tsutsui Exp $");
 
 #include "opt_md.h"
 
@@ -134,8 +134,8 @@
 
 /*
  * use config_search_ia to find appropriate device, then call that device
- * directly with NULL device variable storage.  A device can then 
- * always tell the difference between the real and console init 
+ * directly with NULL device variable storage.  A device can then
+ * always tell the difference between the real and console init
  * by checking for NULL.
  */
 int
@@ -175,12 +175,12 @@
 
 /*
  * this function needs to get enough configured to do a console
- * basically this means start attaching the grfxx's that support 
+ * basically this means start attaching the grfxx's that support
  * the console. Kinda hacky but it works.
  */
 void
 config_console(void)
-{      
+{
        cfdata_t cf;
 
        config_init();
@@ -261,7 +261,7 @@
                        if (dkp->dk_driver == NULL ||
                            dkp->dk_driver->d_strategy == NULL)
                                continue;
-                       
+
                        maj = devsw_name2blk(genericconf[i]->cd_name, NULL, 0);
                        if (maj == -1)
                                continue;
@@ -280,7 +280,7 @@
                                continue;
                        (void)(*bdev->d_close)(MAKEDISKDEV(maj,
                            unit, 0), FREAD|FNONBLOCK, 0, &lwp0);
-                       
+
                        pp = &dkp->dk_label->d_partitions[booted_partition];
                        if (pp->p_size != 0 && pp->p_fstype == FS_BSDFFS) {
                                booted_device = devs[unit];
@@ -290,8 +290,8 @@
        }
 }
 
-/* 
- * mainbus driver 
+/*
+ * mainbus driver
  */
 CFATTACH_DECL_NEW(mainbus, 0,
     mbmatch, mbattach, NULL, NULL);
diff -r 5670b7bd755d -r 842323e696df sys/arch/atari/atari/be_bus.c
--- a/sys/arch/atari/atari/be_bus.c     Fri Jan 06 01:54:22 2023 +0000
+++ b/sys/arch/atari/atari/be_bus.c     Fri Jan 06 10:28:27 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: be_bus.c,v 1.17 2021/01/03 17:42:10 thorpej Exp $      */
+/*     $NetBSD: be_bus.c,v 1.18 2023/01/06 10:28:27 tsutsui Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: be_bus.c,v 1.17 2021/01/03 17:42:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: be_bus.c,v 1.18 2023/01/06 10:28:27 tsutsui Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -186,7 +186,7 @@
                beb_t = kmem_alloc(sizeof(*beb_t), KM_SLEEP);
        }
        memset(beb_t, 0, sizeof(*beb_t));
-       
+
        beb_t->abs_p_1   = beb_bus_space_peek_1;
        beb_t->abs_p_2   = beb_bus_space_peek_2;
        beb_t->abs_p_4   = beb_bus_space_peek_4;
@@ -269,21 +269,21 @@
        return !badbaddr((void *)(h + o), 1);
 }
 
-static int 
+static int
 beb_bus_space_peek_2(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o)
 {
 
        return !badbaddr((void *)(h + o), 2);
 }
 
-static int 
+static int
 beb_bus_space_peek_4(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o)
 {
 
        return !badbaddr((void *)(h + o), 4);
 }
 
-static int 
+static int
 beb_bus_space_peek_8(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o)
 {
 
@@ -368,7 +368,7 @@
 /*
  *     void bus_space_read_multi_N(bus_space_tag_t tag,
  *             bus_space_handle_t bsh, bus_size_t offset, uintX_t *address,
- *             bus_size_t count);
+ *             bus_size_t count);
  *
  * Read 'count' 1, 2, 4, or 8 byte values from the bus_space described by
  * tag/handle at `offset' and store them in the address range starting at
diff -r 5670b7bd755d -r 842323e696df sys/arch/atari/atari/bus.c
--- a/sys/arch/atari/atari/bus.c        Fri Jan 06 01:54:22 2023 +0000
+++ b/sys/arch/atari/atari/bus.c        Fri Jan 06 10:28:27 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus.c,v 1.67 2022/07/26 20:08:55 andvar Exp $  */
+/*     $NetBSD: bus.c,v 1.68 2023/01/06 10:28:27 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #include "opt_m68k_arch.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus.c,v 1.67 2022/07/26 20:08:55 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus.c,v 1.68 2023/01/06 10:28:27 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -110,7 +110,7 @@
                                                (u_long)pa, size);
                return 0;
        }
-       
+
        pg  = &bootm_ptep[btoc(rva - bootm_ex->ex_start)];
        epg = &pg[btoc(size)];
        va  = rva;
@@ -379,7 +379,7 @@
 _bus_dmamap_mapsize(int const nsegments)
 {



Home | Main Index | Thread Index | Old Index