Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/ep93xx Trailing whitespace.



details:   https://anonhg.NetBSD.org/src/rev/c935910f1065
branches:  trunk
changeset: 1026384:c935910f1065
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Nov 21 08:25:26 2021 +0000

description:
Trailing whitespace.

diffstat:

 sys/arch/arm/ep93xx/ep93xx_intr.c  |   8 ++++----
 sys/arch/arm/ep93xx/ep93xx_space.c |   8 ++++----
 sys/arch/arm/ep93xx/ep93xxreg.h    |   4 ++--
 sys/arch/arm/ep93xx/epclk.c        |  16 ++++++++--------
 sys/arch/arm/ep93xx/epclkreg.h     |   4 ++--
 sys/arch/arm/ep93xx/epcom.c        |  22 +++++++++++-----------
 sys/arch/arm/ep93xx/epcomreg.h     |   4 ++--
 sys/arch/arm/ep93xx/epereg.h       |   6 +++---
 sys/arch/arm/ep93xx/epgpio.c       |   8 ++++----
 sys/arch/arm/ep93xx/epled.c        |  10 +++++-----
 sys/arch/arm/ep93xx/eppcic.c       |  18 +++++++++---------
 sys/arch/arm/ep93xx/eprtc.c        |  10 +++++-----
 sys/arch/arm/ep93xx/epsoc.c        |  16 ++++++++--------
 sys/arch/arm/ep93xx/epwdog.c       |   8 ++++----
 14 files changed, 71 insertions(+), 71 deletions(-)

diffs (truncated from 531 to 300 lines):

diff -r 8ad913a136b2 -r c935910f1065 sys/arch/arm/ep93xx/ep93xx_intr.c
--- a/sys/arch/arm/ep93xx/ep93xx_intr.c Sun Nov 21 05:09:15 2021 +0000
+++ b/sys/arch/arm/ep93xx/ep93xx_intr.c Sun Nov 21 08:25:26 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ep93xx_intr.c,v 1.26 2020/11/20 18:03:52 thorpej Exp $ */
+/* $NetBSD: ep93xx_intr.c,v 1.27 2021/11/21 08:25:26 skrll Exp $ */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ep93xx_intr.c,v 1.26 2020/11/20 18:03:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ep93xx_intr.c,v 1.27 2021/11/21 08:25:26 skrll Exp $");
 
 /*
  * Interrupt support for the Cirrus Logic EP93XX
@@ -50,8 +50,8 @@
 
 #include <arm/locore.h>
 
-#include <arm/ep93xx/ep93xxreg.h> 
-#include <arm/ep93xx/ep93xxvar.h> 
+#include <arm/ep93xx/ep93xxreg.h>
+#include <arm/ep93xx/ep93xxvar.h>
 
 /* Interrupt handler queues. */
 struct intrq intrq[NIRQ];
diff -r 8ad913a136b2 -r c935910f1065 sys/arch/arm/ep93xx/ep93xx_space.c
--- a/sys/arch/arm/ep93xx/ep93xx_space.c        Sun Nov 21 05:09:15 2021 +0000
+++ b/sys/arch/arm/ep93xx/ep93xx_space.c        Sun Nov 21 08:25:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ep93xx_space.c,v 1.6 2018/03/16 17:56:31 ryo Exp $ */
+/*     $NetBSD: ep93xx_space.c,v 1.7 2021/11/21 08:25:26 skrll Exp $ */
 
 /*
  * Copyright (c) 2004 Jesse Off
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ep93xx_space.c,v 1.6 2018/03/16 17:56:31 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ep93xx_space.c,v 1.7 2021/11/21 08:25:26 skrll Exp $");
 
 /*
  * bus_space I/O functions for ep93xx
@@ -196,7 +196,7 @@
        panic("ep93xx_bs_alloc(): not implemented\n");
 }
 
-void    
+void
 ep93xx_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
 {
        panic("ep93xx_bs_free(): not implemented\n");
@@ -228,5 +228,5 @@
     bus_size_t len, int flags)
 {
 /* NULL */
-}      
+}
 /* End of ep93xx_space.c */
diff -r 8ad913a136b2 -r c935910f1065 sys/arch/arm/ep93xx/ep93xxreg.h
--- a/sys/arch/arm/ep93xx/ep93xxreg.h   Sun Nov 21 05:09:15 2021 +0000
+++ b/sys/arch/arm/ep93xx/ep93xxreg.h   Sun Nov 21 08:25:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ep93xxreg.h,v 1.8 2021/09/17 08:13:06 andvar Exp $ */
+/*     $NetBSD: ep93xxreg.h,v 1.9 2021/11/21 08:25:26 skrll Exp $ */
 
 /*
  * Copyright (c) 2004 Jesse Off
@@ -30,7 +30,7 @@
 #define _EP93XXREG_H_
 
 /*
- * Physical memory map for the Cirrus Logic EP93XX 
+ * Physical memory map for the Cirrus Logic EP93XX
  */
 
 /*
diff -r 8ad913a136b2 -r c935910f1065 sys/arch/arm/ep93xx/epclk.c
--- a/sys/arch/arm/ep93xx/epclk.c       Sun Nov 21 05:09:15 2021 +0000
+++ b/sys/arch/arm/ep93xx/epclk.c       Sun Nov 21 08:25:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: epclk.c,v 1.22 2020/05/29 12:30:38 rin Exp $   */
+/*     $NetBSD: epclk.c,v 1.23 2021/11/21 08:25:26 skrll Exp $ */
 
 /*
  * Copyright (c) 2004 Jesse Off
@@ -31,7 +31,7 @@
  *
  * We use the 64Hz RTC interrupt as its the only thing that allows for timekeeping
  * of a second (crystal error only).  There are two general purpose timers
- * on the ep93xx, but they run at a frequency that makes a perfect integer 
+ * on the ep93xx, but they run at a frequency that makes a perfect integer
  * number of ticks per second impossible.  Note that there was an errata with
  * the ep93xx processor and many early boards (including the Cirrus eval board) have
  * a broken crystal oscillator input that may make this 64Hz unreliable.  However,
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: epclk.c,v 1.22 2020/05/29 12:30:38 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: epclk.c,v 1.23 2021/11/21 08:25:26 skrll Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -55,9 +55,9 @@
 
 #include <arm/cpufunc.h>
 
-#include <arm/ep93xx/epsocvar.h> 
-#include <arm/ep93xx/epclkreg.h> 
-#include <arm/ep93xx/ep93xxreg.h> 
+#include <arm/ep93xx/epsocvar.h>
+#include <arm/ep93xx/epclkreg.h>
+#include <arm/ep93xx/ep93xxreg.h>
 #include <arm/ep93xx/ep93xxvar.h>
 #include <dev/clock_subr.h>
 
@@ -139,11 +139,11 @@
        } else
                first_run = false;
 
-       if (bus_space_map(sa->sa_iot, sa->sa_addr, sa->sa_size, 
+       if (bus_space_map(sa->sa_iot, sa->sa_addr, sa->sa_size,
                0, &sc->sc_ioh))
                panic("%s: Cannot map registers", device_xname(self));
 #if defined(HZ) && (HZ == 64)
-       if (bus_space_map(sa->sa_iot, EP93XX_APB_HWBASE + EP93XX_APB_SYSCON + 
+       if (bus_space_map(sa->sa_iot, EP93XX_APB_HWBASE + EP93XX_APB_SYSCON +
                EP93XX_SYSCON_TEOI, 4, 0, &sc->sc_teoi_ioh))
                panic("%s: Cannot map registers", device_xname(self));
 #endif
diff -r 8ad913a136b2 -r c935910f1065 sys/arch/arm/ep93xx/epclkreg.h
--- a/sys/arch/arm/ep93xx/epclkreg.h    Sun Nov 21 05:09:15 2021 +0000
+++ b/sys/arch/arm/ep93xx/epclkreg.h    Sun Nov 21 08:25:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: epclkreg.h,v 1.3 2009/10/23 00:39:30 snj Exp $ */
+/*     $NetBSD: epclkreg.h,v 1.4 2021/11/21 08:25:26 skrll Exp $ */
 
 /*
  * Copyright (c) 2004 Jesse Off
@@ -15,7 +15,7 @@
  * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA AND CONTRIBUTORS ``AS IS''
  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS 
+ * ARE DISCLAIMED.  IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS
  * HEAD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
  * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
diff -r 8ad913a136b2 -r c935910f1065 sys/arch/arm/ep93xx/epcom.c
--- a/sys/arch/arm/ep93xx/epcom.c       Sun Nov 21 05:09:15 2021 +0000
+++ b/sys/arch/arm/ep93xx/epcom.c       Sun Nov 21 08:25:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: epcom.c,v 1.32 2020/11/20 18:03:52 thorpej Exp $ */
+/*     $NetBSD: epcom.c,v 1.33 2021/11/21 08:25:26 skrll Exp $ */
 /*
  * Copyright (c) 1998, 1999, 2001, 2002, 2004 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: epcom.c,v 1.32 2020/11/20 18:03:52 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: epcom.c,v 1.33 2021/11/21 08:25:26 skrll Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -291,7 +291,7 @@
        sc->sc_lcrhi = cflag2lcrhi(t->c_cflag);
        sc->sc_lcrlo = EPCOMSPEED2BRD(t->c_ospeed) & 0xff;
        sc->sc_lcrmid = EPCOMSPEED2BRD(t->c_ospeed) >> 8;
-       
+
        /* And copy to tty. */
        tp->t_ispeed = 0;
        tp->t_ospeed = t->c_ospeed;
@@ -542,7 +542,7 @@
 
                splx(s2);
        }
-       
+
        splx(s);
 
        error = ttyopen(tp, COMDIALOUT(dev), ISSET(flag, O_NONBLOCK));
@@ -603,7 +603,7 @@
 
        if (COM_ISALIVE(sc) == 0)
                return (EIO);
- 
+
        return ((*tp->t_linesw->l_read)(tp, uio, flag));
 }
 
@@ -615,7 +615,7 @@
 
        if (COM_ISALIVE(sc) == 0)
                return (EIO);
- 
+
        return ((*tp->t_linesw->l_write)(tp, uio, flag));
 }
 
@@ -627,7 +627,7 @@
 
        if (COM_ISALIVE(sc) == 0)
                return (EIO);
- 
+
        return ((*tp->t_linesw->l_poll)(tp, events, l));
 }
 
@@ -678,7 +678,7 @@
 
        case TIOCSFLAGS:
                error = kauth_authorize_device_tty(l->l_cred,
-                   KAUTH_DEVICE_TTY_PRIVSET, tp); 
+                   KAUTH_DEVICE_TTY_PRIVSET, tp);
                if (error)
                        break;
                sc->sc_swflags = *(int *)data;
@@ -735,7 +735,7 @@
        lcrhi |= (cflag & PARODD) ? 0 : LinCtrlHigh_EPS;
        lcrhi |= (cflag & CSTOPB) ? LinCtrlHigh_STP2 : 0;
        lcrhi |= LinCtrlHigh_FEN;  /* FIFO always enabled */
-       
+
        return (lcrhi);
 }
 
@@ -971,7 +971,7 @@
        if (cc != scc) {
                sc->sc_rbget = get;
                s = splserial();
-               
+
                cc = sc->sc_rbavail += scc - cc;
                /* Buffers should be ok again, release possible block. */
                if (cc >= 1) {
@@ -1022,7 +1022,7 @@
 
        (void) bus_space_read_4(iot, ioh, EPCOM_IntIDIntClr);
 
-       if (COM_ISALIVE(sc) == 0) 
+       if (COM_ISALIVE(sc) == 0)
                panic("intr on disabled epcom");
 
        flagr = bus_space_read_4(iot, ioh, EPCOM_Flag);
diff -r 8ad913a136b2 -r c935910f1065 sys/arch/arm/ep93xx/epcomreg.h
--- a/sys/arch/arm/ep93xx/epcomreg.h    Sun Nov 21 05:09:15 2021 +0000
+++ b/sys/arch/arm/ep93xx/epcomreg.h    Sun Nov 21 08:25:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: epcomreg.h,v 1.3 2009/10/23 00:39:30 snj Exp $ */
+/*     $NetBSD: epcomreg.h,v 1.4 2021/11/21 08:25:26 skrll Exp $ */
 
 /*
  * Copyright (c) 2004 Jesse Off
@@ -15,7 +15,7 @@
  * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA AND CONTRIBUTORS ``AS IS''
  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS 
+ * ARE DISCLAIMED.  IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS
  * HEAD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
  * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
diff -r 8ad913a136b2 -r c935910f1065 sys/arch/arm/ep93xx/epereg.h
--- a/sys/arch/arm/ep93xx/epereg.h      Sun Nov 21 05:09:15 2021 +0000
+++ b/sys/arch/arm/ep93xx/epereg.h      Sun Nov 21 08:25:26 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: epereg.h,v 1.4 2009/10/23 00:39:30 snj Exp $ */
+/*     $NetBSD: epereg.h,v 1.5 2021/11/21 08:25:26 skrll Exp $ */
 
 /*
  * Copyright (c) 2004 Jesse Off
@@ -16,7 +16,7 @@
  * THIS SOFTWARE IS PROVIDED BY ICHIRO FUKUHARA AND CONTRIBUTORS ``AS IS''
  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED.  IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS 
+ * ARE DISCLAIMED.  IN NO EVENT SHALL ICHIRO FUKUHARA OR THE VOICES IN HIS
  * HEAD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
  * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
@@ -102,7 +102,7 @@
 #define EPE_RXDEnq     0x0000009cUL    /* Receive Descriptor Enqueue */
 #define EPE_RXStsQBAdd 0x000000a0UL    /* Receive Status Queue Base Address */
 #define EPE_RXStsQBLen 0x000000a4UL    /* Receive Status Queue Base Length */
-#define EPE_RXStsQCurLen       0x000000a6UL    /* Recv Sts Q Current Length */ 
+#define EPE_RXStsQCurLen       0x000000a6UL    /* Recv Sts Q Current Length */
 #define EPE_RXStsQCurAdd       0x000000a8UL    /* Recv Sts Q Current Address */
 #define EPE_RXStsEnq   0x000000acUL    /* Receive Status Enqueue */
 #define EPE_TXDQBAdd   0x000000b0UL    /* Transmit Descriptor Q Base Addr */
diff -r 8ad913a136b2 -r c935910f1065 sys/arch/arm/ep93xx/epgpio.c
--- a/sys/arch/arm/ep93xx/epgpio.c      Sun Nov 21 05:09:15 2021 +0000
+++ b/sys/arch/arm/ep93xx/epgpio.c      Sun Nov 21 08:25:26 2021 +0000



Home | Main Index | Thread Index | Old Index