Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/rmi Trailing whitespace



details:   https://anonhg.NetBSD.org/src/rev/da3953177c2a
branches:  trunk
changeset: 371218:da3953177c2a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Sep 29 06:58:37 2022 +0000

description:
Trailing whitespace

diffstat:

 sys/arch/mips/adm5120/dev/admpci.c     |  10 +++++-----
 sys/arch/mips/alchemy/aubus.c          |   6 +++---
 sys/arch/mips/alchemy/dev/aupci.c      |  12 ++++++------
 sys/arch/mips/alchemy/dev/if_aumac.c   |   6 +++---
 sys/arch/mips/cavium/dev/if_cnmac.c    |   6 +++---
 sys/arch/mips/cavium/dev/octeon_smi.c  |   6 +++---
 sys/arch/mips/cavium/dev/octeon_xhci.c |   4 ++--
 sys/arch/mips/mips/cpu_exec.c          |   6 +++---
 sys/arch/mips/ralink/ralink_i2c.c      |  14 +++++++-------
 sys/arch/mips/rmi/rmixl_cpu.c          |  14 +++++++-------
 sys/arch/mips/rmi/rmixl_intr.c         |   8 ++++----
 sys/arch/mips/rmi/rmixl_mainbus.c      |  14 +++++++-------
 12 files changed, 53 insertions(+), 53 deletions(-)

diffs (truncated from 454 to 300 lines):

diff -r 41323bba254a -r da3953177c2a sys/arch/mips/adm5120/dev/admpci.c
--- a/sys/arch/mips/adm5120/dev/admpci.c        Thu Sep 29 06:47:06 2022 +0000
+++ b/sys/arch/mips/adm5120/dev/admpci.c        Thu Sep 29 06:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: admpci.c,v 1.16 2021/08/07 16:18:58 thorpej Exp $ */
+/* $NetBSD: admpci.c,v 1.17 2022/09/29 06:58:37 skrll Exp $ */
 
 /*-
  * Copyright (c) 2007 David Young.  All rights reserved.
@@ -55,13 +55,13 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- */ 
+ */
 
 #include "opt_pci.h"
 #include "pci.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: admpci.c,v 1.16 2021/08/07 16:18:58 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: admpci.c,v 1.17 2022/09/29 06:58:37 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -183,7 +183,7 @@
 #if NPCI > 0
        struct pcibus_attach_args       pba;
 #endif
-       
+
        admpci_found = 1;
 
        sc->sc_dev = self;
@@ -418,7 +418,7 @@
 /*
  * Map the bus 0 device numbers 1, 2, and 3 to IRQ 6, 7, and 8,
  * respectively.
- * 
+ *
  * XXX How to handle bridges?
  */
 static int
diff -r 41323bba254a -r da3953177c2a sys/arch/mips/alchemy/aubus.c
--- a/sys/arch/mips/alchemy/aubus.c     Thu Sep 29 06:47:06 2022 +0000
+++ b/sys/arch/mips/alchemy/aubus.c     Thu Sep 29 06:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aubus.c,v 1.25 2021/08/07 16:18:58 thorpej Exp $ */
+/* $NetBSD: aubus.c,v 1.26 2022/09/29 06:58:51 skrll Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -29,7 +29,7 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- */ 
+ */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -97,7 +97,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aubus.c,v 1.25 2021/08/07 16:18:58 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aubus.c,v 1.26 2022/09/29 06:58:51 skrll Exp $");
 
 #include "locators.h"
 #define _MIPS_BUS_DMA_PRIVATE
diff -r 41323bba254a -r da3953177c2a sys/arch/mips/alchemy/dev/aupci.c
--- a/sys/arch/mips/alchemy/dev/aupci.c Thu Sep 29 06:47:06 2022 +0000
+++ b/sys/arch/mips/alchemy/dev/aupci.c Thu Sep 29 06:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aupci.c,v 1.20 2021/08/07 16:18:58 thorpej Exp $ */
+/* $NetBSD: aupci.c,v 1.21 2022/09/29 06:58:51 skrll Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -29,13 +29,13 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- */ 
+ */
 
 #include "opt_pci.h"
 #include "pci.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aupci.c,v 1.20 2021/08/07 16:18:58 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aupci.c,v 1.21 2022/09/29 06:58:51 skrll Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -156,7 +156,7 @@
        bus_addr_t                      mstart;
        struct pcibus_attach_args       pba;
 #endif
-       
+
        aupci_found = 1;
 
        sc->sc_dev = self;
@@ -194,7 +194,7 @@
         * their drivers.)
         */
        cfg = AUPCI_CONFIG_CH | AUPCI_CONFIG_R1H |
-           AUPCI_CONFIG_R2H | AUPCI_CONFIG_AEN | 
+           AUPCI_CONFIG_R2H | AUPCI_CONFIG_AEN |
            AUPCI_CONFIG_SM | AUPCI_CONFIG_ST | AUPCI_CONFIG_SIC_DATA;
 #else
        cfg = AUPCI_CONFIG_CH | AUPCI_CONFIG_R1H |
@@ -373,7 +373,7 @@
        splx(s);
 
        bus_space_unmap(sc->sc_cfgt, h, 256);
-       
+
        /* if we got a PCI master abort, fail it */
        if (status & AUPCI_CONFIG_EF)
                return false;
diff -r 41323bba254a -r da3953177c2a sys/arch/mips/alchemy/dev/if_aumac.c
--- a/sys/arch/mips/alchemy/dev/if_aumac.c      Thu Sep 29 06:47:06 2022 +0000
+++ b/sys/arch/mips/alchemy/dev/if_aumac.c      Thu Sep 29 06:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_aumac.c,v 1.50 2022/09/18 11:25:33 thorpej Exp $ */
+/* $NetBSD: if_aumac.c,v 1.51 2022/09/29 06:58:51 skrll Exp $ */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_aumac.c,v 1.50 2022/09/18 11:25:33 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_aumac.c,v 1.51 2022/09/29 06:58:51 skrll Exp $");
 
 
 
@@ -635,7 +635,7 @@
         * Missed frames are a semi-frequent occurrence with this hardware,
         * and reporting of them just makes everything run slower and fills
         * the system log.  Be silent.
-        * 
+        *
         * Additionally, this missed bit indicates an error with the previous
         * packet, and not with this one!  So PRINTERR is definitely wrong
         * here.
diff -r 41323bba254a -r da3953177c2a sys/arch/mips/cavium/dev/if_cnmac.c
--- a/sys/arch/mips/cavium/dev/if_cnmac.c       Thu Sep 29 06:47:06 2022 +0000
+++ b/sys/arch/mips/cavium/dev/if_cnmac.c       Thu Sep 29 06:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_cnmac.c,v 1.27 2022/09/18 11:38:48 thorpej Exp $    */
+/*     $NetBSD: if_cnmac.c,v 1.28 2022/09/29 06:59:01 skrll Exp $      */
 
 /*
  * Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cnmac.c,v 1.27 2022/09/18 11:38:48 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cnmac.c,v 1.28 2022/09/29 06:59:01 skrll Exp $");
 
 /*
  * If no free send buffer is available, free all the sent buffers and bail out.
@@ -318,7 +318,7 @@
        IFQ_SET_MAXLEN(&ifp->if_snd, uimax(GATHER_QUEUE_SIZE, IFQ_MAXLEN));
        IFQ_SET_READY(&ifp->if_snd);
 
-       
+
        ifp->if_capabilities =
 #if 0  /* XXX: no tx checksum yet */
            IFCAP_CSUM_IPv4_Tx | IFCAP_CSUM_IPv4_Rx |
diff -r 41323bba254a -r da3953177c2a sys/arch/mips/cavium/dev/octeon_smi.c
--- a/sys/arch/mips/cavium/dev/octeon_smi.c     Thu Sep 29 06:47:06 2022 +0000
+++ b/sys/arch/mips/cavium/dev/octeon_smi.c     Thu Sep 29 06:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: octeon_smi.c,v 1.7 2021/01/27 03:10:21 thorpej Exp $   */
+/*     $NetBSD: octeon_smi.c,v 1.8 2022/09/29 06:59:01 skrll Exp $     */
 
 /*
  * Copyright (c) 2007 Internet Initiative Japan, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: octeon_smi.c,v 1.7 2021/01/27 03:10:21 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: octeon_smi.c,v 1.8 2022/09/29 06:59:01 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -198,7 +198,7 @@
        uint64_t smi_rd;
        int timo;
 
-       _SMI_WR8(sc, SMI_CMD_OFFSET, 
+       _SMI_WR8(sc, SMI_CMD_OFFSET,
            __SHIFTIN(SMI_CMD_PHY_OP_READ, SMI_CMD_PHY_OP) |
            __SHIFTIN(phy_addr, SMI_CMD_PHY_ADR) |
            __SHIFTIN(reg, SMI_CMD_REG_ADR));
diff -r 41323bba254a -r da3953177c2a sys/arch/mips/cavium/dev/octeon_xhci.c
--- a/sys/arch/mips/cavium/dev/octeon_xhci.c    Thu Sep 29 06:47:06 2022 +0000
+++ b/sys/arch/mips/cavium/dev/octeon_xhci.c    Thu Sep 29 06:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: octeon_xhci.c,v 1.7 2021/11/10 17:19:29 msaitoh Exp $ */
+/*     $NetBSD: octeon_xhci.c,v 1.8 2022/09/29 06:59:01 skrll Exp $ */
 /*     $OpenBSD: octxhci.c,v 1.4 2019/09/29 04:32:23 visa Exp $        */
 
 /*
@@ -380,7 +380,7 @@
 }
 
 /* ---- bus_space(9) */
-#define CHIP                   octxhci 
+#define CHIP                   octxhci
 #define CHIP_IO
 #define        CHIP_LITTLE_ENDIAN
 
diff -r 41323bba254a -r da3953177c2a sys/arch/mips/mips/cpu_exec.c
--- a/sys/arch/mips/mips/cpu_exec.c     Thu Sep 29 06:47:06 2022 +0000
+++ b/sys/arch/mips/mips/cpu_exec.c     Thu Sep 29 06:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu_exec.c,v 1.68 2021/05/23 23:24:45 mrg Exp $        */
+/*     $NetBSD: cpu_exec.c,v 1.69 2022/09/29 06:59:12 skrll Exp $      */
 
 /*
  * Copyright (c) 1992, 1993
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu_exec.c,v 1.68 2021/05/23 23:24:45 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu_exec.c,v 1.69 2022/09/29 06:59:12 skrll Exp $");
 
 #include "opt_compat_netbsd.h"
 #include "opt_compat_ultrix.h"
@@ -201,7 +201,7 @@
                eh->e_flags |= EF_MIPS_ABI2;
                break;
        case _MIPS_BSD_API_O32:
-               eh->e_flags |= EF_MIPS_ABI_O32; 
+               eh->e_flags |= EF_MIPS_ABI_O32;
                break;
        }
 }
diff -r 41323bba254a -r da3953177c2a sys/arch/mips/ralink/ralink_i2c.c
--- a/sys/arch/mips/ralink/ralink_i2c.c Thu Sep 29 06:47:06 2022 +0000
+++ b/sys/arch/mips/ralink/ralink_i2c.c Thu Sep 29 06:58:37 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ralink_i2c.c,v 1.6 2021/08/07 16:18:59 thorpej Exp $   */
+/*     $NetBSD: ralink_i2c.c,v 1.7 2022/09/29 06:59:33 skrll Exp $     */
 /*-
  * Copyright (c) 2011 CradlePoint Technology, Inc.
  * All rights reserved.
@@ -29,7 +29,7 @@
 /* ra_i2c.c - Ralink i2c 3052 driver */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ralink_i2c.c,v 1.6 2021/08/07 16:18:59 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ralink_i2c.c,v 1.7 2022/09/29 06:59:33 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -56,7 +56,7 @@
 #endif
 
 /*
- * Slow the I2C bus clock to 12.5 KHz to work around the misbehavior 
+ * Slow the I2C bus clock to 12.5 KHz to work around the misbehavior
  * of the TI part.
  */
 #define CLKDIV_VALUE 4264
@@ -237,7 +237,7 @@
 
        for (i=0; i < nbytes; i++) {
                for (j=0; j < max_ee_busy_loop; j++) {
-                       r = bus_space_read_4(sc->sc_memt, sc->sc_i2c_memh, 
+                       r = bus_space_read_4(sc->sc_memt, sc->sc_i2c_memh,
                                RA_I2C_STATUS);
                        if ((r & I2C_STATUS_SDOEMPTY) != 0) {
                                bus_space_write_4(sc->sc_memt, sc->sc_i2c_memh,
@@ -256,7 +256,7 @@
                        aprint_error_dev(sc->sc_dev, "timeout error in %s\n",
                                __func__);
                        return EAGAIN;
-               }       
+               }
        }
 
        ra_i2c_busy_wait(sc);
@@ -280,7 +280,7 @@
                uint32_t r;
 
                for (j=0; j < max_ee_busy_loop; j++) {
-                       r = bus_space_read_4(sc->sc_memt, sc->sc_i2c_memh, 
+                       r = bus_space_read_4(sc->sc_memt, sc->sc_i2c_memh,
                                RA_I2C_STATUS);



Home | Main Index | Thread Index | Old Index