Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/179d8436551c
branches:  trunk
changeset: 552533:179d8436551c
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Sep 26 21:41:16 2003 +0000

description:
TAB/space cleanup.

diffstat:

 sys/arch/sun3/dev/fd.c         |  24 ++++++++++++------------
 sys/arch/sun3/sun3x/pmap_pvt.h |   4 ++--
 2 files changed, 14 insertions(+), 14 deletions(-)

diffs (101 lines):

diff -r bc50a8418946 -r 179d8436551c sys/arch/sun3/dev/fd.c
--- a/sys/arch/sun3/dev/fd.c    Fri Sep 26 21:34:03 2003 +0000
+++ b/sys/arch/sun3/dev/fd.c    Fri Sep 26 21:41:16 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.38 2003/08/07 16:29:55 agc Exp $      */
+/*     $NetBSD: fd.c,v 1.39 2003/09/26 21:41:16 tsutsui Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.38 2003/08/07 16:29:55 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.39 2003/09/26 21:41:16 tsutsui Exp $");
 
 #include "opt_ddb.h"
 
@@ -636,7 +636,7 @@
        struct fd_softc *fd;
        int unit = FDUNIT(bp->b_dev);
        int sz;
-       int s;
+       int s;
 
        /* Valid unit, controller, and request? */
        if (unit >= fd_cd.cd_ndevs ||
@@ -671,7 +671,7 @@
        }
 
        bp->b_rawblkno = bp->b_blkno;
-       bp->b_cylinder = bp->b_blkno / (FDC_BSIZE / DEV_BSIZE) / fd->sc_type->seccyl;
+       bp->b_cylinder = bp->b_blkno / (FDC_BSIZE / DEV_BSIZE) / fd->sc_type->seccyl;
 
 #ifdef FD_DEBUG
        if (fdc_debug > 1)
@@ -863,7 +863,7 @@
        int flags, fmt;
        struct proc *p;
 {
-       int unit, pmask;
+       int unit, pmask;
        struct fd_softc *fd;
        struct fd_type *type;
 
@@ -937,22 +937,22 @@
 
 int
 fdread(dev, uio, flag)
-        dev_t dev;
-        struct uio *uio;
+       dev_t dev;
+       struct uio *uio;
        int flag;
 {
 
-        return (physio(fdstrategy, NULL, dev, B_READ, minphys, uio));
+       return (physio(fdstrategy, NULL, dev, B_READ, minphys, uio));
 }
 
 int
 fdwrite(dev, uio, flag)
-        dev_t dev;
-        struct uio *uio;
+       dev_t dev;
+       struct uio *uio;
        int flag;
 {
 
-        return (physio(fdstrategy, NULL, dev, B_WRITE, minphys, uio));
+       return (physio(fdstrategy, NULL, dev, B_WRITE, minphys, uio));
 }
 
 void
@@ -1182,7 +1182,7 @@
        fd = fdc->sc_drives.tqh_first;
        if (fd == NULL) {
                fdc->sc_state = DEVIDLE;
-               return (0);
+               return (0);
        }
 
        /* Is there a transfer to this drive?  If not, deactivate drive. */
diff -r bc50a8418946 -r 179d8436551c sys/arch/sun3/sun3x/pmap_pvt.h
--- a/sys/arch/sun3/sun3x/pmap_pvt.h    Fri Sep 26 21:34:03 2003 +0000
+++ b/sys/arch/sun3/sun3x/pmap_pvt.h    Fri Sep 26 21:41:16 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_pvt.h,v 1.10 2003/06/23 11:01:49 martin Exp $     */
+/*     $NetBSD: pmap_pvt.h,v 1.11 2003/09/26 21:41:16 tsutsui Exp $    */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
        u_char          at_wcnt;   /* no. of wired entries in this table */
        u_char          at_ecnt;   /* no. of valid entries in this table */
        u_int16_t       at_dum1;   /* structure padding                  */
-       TAILQ_ENTRY(a_tmgr_struct) at_link;  /* list linker              */
+       TAILQ_ENTRY(a_tmgr_struct) at_link;  /* list linker              */
 };
 
 /* A level B table manager contains a pointer to an MMU table of



Home | Main Index | Thread Index | Old Index