Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Trailing whitespace
details: https://anonhg.NetBSD.org/src/rev/72f9a9579591
branches: trunk
changeset: 374362:72f9a9579591
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Apr 21 15:00:27 2023 +0000
description:
Trailing whitespace
diffstat:
sys/arch/arm/at91/at91_bus_space.c | 8 ++++----
sys/arch/arm/at91/at91busvar.h | 6 +++---
sys/arch/arm/at91/at91rm9200bus.c | 8 ++++----
sys/arch/arm/at91/at91sam9260bus.c | 8 ++++----
sys/arch/arm/at91/at91sam9261bus.c | 8 ++++----
sys/arch/arm/broadcom/bcmgen_space.c | 6 +++---
sys/arch/arm/gemini/gemini_space.c | 6 +++---
sys/arch/arm/imx/imx_space.c | 6 +++---
sys/arch/arm/ixp12x0/ixp12x0_io.c | 10 +++++-----
sys/arch/arm/sa11x0/sa11x0_io.c | 8 ++++----
sys/arch/arm/xscale/ixp425_pci_space.c | 10 +++++-----
sys/arch/arm/xscale/ixp425_space.c | 8 ++++----
sys/arch/arm/xscale/pxa2x0_space.c | 6 +++---
sys/arch/hpcarm/hpcarm/netbookpro_machdep.c | 8 ++++----
14 files changed, 53 insertions(+), 53 deletions(-)
diffs (truncated from 446 to 300 lines):
diff -r 055b1dedc7d4 -r 72f9a9579591 sys/arch/arm/at91/at91_bus_space.c
--- a/sys/arch/arm/at91/at91_bus_space.c Fri Apr 21 14:58:34 2023 +0000
+++ b/sys/arch/arm/at91/at91_bus_space.c Fri Apr 21 15:00:27 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: at91_bus_space.c,v 1.5 2018/03/16 17:56:31 ryo Exp $ */
+ /* $NetBSD: at91_bus_space.c,v 1.6 2023/04/21 15:00:48 skrll Exp $ */
/*
* Based on ep93xx_space.c
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91_bus_space.c,v 1.5 2018/03/16 17:56:31 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91_bus_space.c,v 1.6 2023/04/21 15:00:48 skrll Exp $");
/*
* bus_space I/O functions for ep93xx
@@ -201,7 +201,7 @@ at91_bs_alloc(void *t, bus_addr_t rstart
panic("at91_bs_alloc(): not implemented\n");
}
-void
+void
at91_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
{
panic("at91_bs_free(): not implemented\n");
@@ -233,5 +233,5 @@ at91_bs_barrier(void *t, bus_space_handl
bus_size_t len, int flags)
{
/* NULL */
-}
+}
/* End of at91_io.c */
diff -r 055b1dedc7d4 -r 72f9a9579591 sys/arch/arm/at91/at91busvar.h
--- a/sys/arch/arm/at91/at91busvar.h Fri Apr 21 14:58:34 2023 +0000
+++ b/sys/arch/arm/at91/at91busvar.h Fri Apr 21 15:00:27 2023 +0000
@@ -1,5 +1,5 @@
-/* $Id: at91busvar.h,v 1.7 2019/07/16 14:41:43 skrll Exp $ */
-/* $NetBSD: at91busvar.h,v 1.7 2019/07/16 14:41:43 skrll Exp $ */
+/* $Id: at91busvar.h,v 1.8 2023/04/21 15:00:48 skrll Exp $ */
+/* $NetBSD: at91busvar.h,v 1.8 2023/04/21 15:00:48 skrll Exp $ */
/*
* Copyright (c) 2007 Embedtronics Oy
@@ -150,7 +150,7 @@ at91_gpio_mask(int pid)
return (*at91bus_tag->gpio_mask)(pid);
}
-static __inline void
+static __inline void
at91_intr_init(void)
{
return (*at91bus_tag->intr_init)();
diff -r 055b1dedc7d4 -r 72f9a9579591 sys/arch/arm/at91/at91rm9200bus.c
--- a/sys/arch/arm/at91/at91rm9200bus.c Fri Apr 21 14:58:34 2023 +0000
+++ b/sys/arch/arm/at91/at91rm9200bus.c Fri Apr 21 15:00:27 2023 +0000
@@ -1,7 +1,7 @@
-/* $Id: at91rm9200bus.c,v 1.2 2008/07/03 01:15:38 matt Exp $ */
+/* $Id: at91rm9200bus.c,v 1.3 2023/04/21 15:00:48 skrll Exp $ */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91rm9200bus.c,v 1.2 2008/07/03 01:15:38 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91rm9200bus.c,v 1.3 2023/04/21 15:00:48 skrll Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -88,7 +88,7 @@ at91pio_port at91rm9200bus_pio_port(int
case PID_PIOD: return AT91_PIOD;
default: panic("%s: pid %d not valid", __FUNCTION__, pid);
}
-
+
}
uint32_t at91rm9200bus_gpio_mask(int pid)
@@ -135,7 +135,7 @@ const char *at91rm9200bus_peripheral_nam
}
}
-void at91rm9200bus_search_peripherals(device_t self,
+void at91rm9200bus_search_peripherals(device_t self,
device_t (*found_func)(device_t, bus_addr_t, int))
{
static const struct {
diff -r 055b1dedc7d4 -r 72f9a9579591 sys/arch/arm/at91/at91sam9260bus.c
--- a/sys/arch/arm/at91/at91sam9260bus.c Fri Apr 21 14:58:34 2023 +0000
+++ b/sys/arch/arm/at91/at91sam9260bus.c Fri Apr 21 15:00:27 2023 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: at91sam9260bus.c,v 1.1 2011/11/04 17:20:54 aymeric Exp $ */
+/* $NetBSD: at91sam9260bus.c,v 1.2 2023/04/21 15:00:48 skrll Exp $ */
/*
* Copied from at91sam9261bus.c
* Adaptation to AT91SAM9260 by Aymeric Vincent is in the public domain.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91sam9260bus.c,v 1.1 2011/11/04 17:20:54 aymeric Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91sam9260bus.c,v 1.2 2023/04/21 15:00:48 skrll Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -83,7 +83,7 @@ at91pio_port at91sam9260bus_pio_port(int
case PID_PIOC: return AT91_PIOC;
default: panic("%s: pid %d not valid", __FUNCTION__, pid);
}
-
+
}
uint32_t at91sam9260bus_gpio_mask(int pid) {
@@ -124,7 +124,7 @@ const char *at91sam9260bus_peripheral_na
}
}
-void at91sam9260bus_search_peripherals(device_t self,
+void at91sam9260bus_search_peripherals(device_t self,
device_t found_func(device_t, bus_addr_t, int)) {
static const struct {
bus_addr_t addr;
diff -r 055b1dedc7d4 -r 72f9a9579591 sys/arch/arm/at91/at91sam9261bus.c
--- a/sys/arch/arm/at91/at91sam9261bus.c Fri Apr 21 14:58:34 2023 +0000
+++ b/sys/arch/arm/at91/at91sam9261bus.c Fri Apr 21 15:00:27 2023 +0000
@@ -1,7 +1,7 @@
-/* $Id: at91sam9261bus.c,v 1.2 2008/07/03 01:15:38 matt Exp $ */
+/* $Id: at91sam9261bus.c,v 1.3 2023/04/21 15:00:48 skrll Exp $ */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91sam9261bus.c,v 1.2 2008/07/03 01:15:38 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91sam9261bus.c,v 1.3 2023/04/21 15:00:48 skrll Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -87,7 +87,7 @@ at91pio_port at91sam9261bus_pio_port(int
case PID_PIOC: return AT91_PIOC;
default: panic("%s: pid %d not valid", __FUNCTION__, pid);
}
-
+
}
uint32_t at91sam9261bus_gpio_mask(int pid)
@@ -126,7 +126,7 @@ const char *at91sam9261bus_peripheral_na
}
}
-void at91sam9261bus_search_peripherals(device_t self,
+void at91sam9261bus_search_peripherals(device_t self,
device_t (*found_func)(device_t, bus_addr_t, int))
{
static const struct {
diff -r 055b1dedc7d4 -r 72f9a9579591 sys/arch/arm/broadcom/bcmgen_space.c
--- a/sys/arch/arm/broadcom/bcmgen_space.c Fri Apr 21 14:58:34 2023 +0000
+++ b/sys/arch/arm/broadcom/bcmgen_space.c Fri Apr 21 15:00:27 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcmgen_space.c,v 1.7 2020/10/30 18:54:36 skrll Exp $ */
+/* $NetBSD: bcmgen_space.c,v 1.8 2023/04/21 15:00:48 skrll Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcmgen_space.c,v 1.7 2020/10/30 18:54:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcmgen_space.c,v 1.8 2023/04/21 15:00:48 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -240,7 +240,7 @@ bcmgen_bs_barrier(void *t, bus_space_han
bus_size_t len, int flags)
{
flags &= BUS_SPACE_BARRIER_READ|BUS_SPACE_BARRIER_WRITE;
-
+
if (flags)
dsb(sy);
}
diff -r 055b1dedc7d4 -r 72f9a9579591 sys/arch/arm/gemini/gemini_space.c
--- a/sys/arch/arm/gemini/gemini_space.c Fri Apr 21 14:58:34 2023 +0000
+++ b/sys/arch/arm/gemini/gemini_space.c Fri Apr 21 15:00:27 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gemini_space.c,v 1.5 2018/03/16 17:56:31 ryo Exp $ */
+/* $NetBSD: gemini_space.c,v 1.6 2023/04/21 15:00:48 skrll Exp $ */
/* adapted from:
* NetBSD: pxa2x0_space.c,v 1.8 2005/11/24 13:08:32 yamt Exp
@@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gemini_space.c,v 1.5 2018/03/16 17:56:31 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gemini_space.c,v 1.6 2023/04/21 15:00:48 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -261,7 +261,7 @@ gemini_bs_alloc(void *t, bus_addr_t rsta
panic("gemini_io_bs_alloc(): not implemented\n");
}
-void
+void
gemini_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
{
diff -r 055b1dedc7d4 -r 72f9a9579591 sys/arch/arm/imx/imx_space.c
--- a/sys/arch/arm/imx/imx_space.c Fri Apr 21 14:58:34 2023 +0000
+++ b/sys/arch/arm/imx/imx_space.c Fri Apr 21 15:00:27 2023 +0000
@@ -1,7 +1,7 @@
-/* $Id: imx_space.c,v 1.6 2018/03/16 17:56:31 ryo Exp $ */
+/* $Id: imx_space.c,v 1.7 2023/04/21 15:00:48 skrll Exp $ */
/* derived from: */
-/* $NetBSD: imx_space.c,v 1.6 2018/03/16 17:56:31 ryo Exp $ */
+/* $NetBSD: imx_space.c,v 1.7 2023/04/21 15:00:48 skrll Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -291,7 +291,7 @@ imx_bs_alloc(void *t, bus_addr_t rstart,
panic("imx_io_bs_alloc(): not implemented\n");
}
-void
+void
imx_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
{
diff -r 055b1dedc7d4 -r 72f9a9579591 sys/arch/arm/ixp12x0/ixp12x0_io.c
--- a/sys/arch/arm/ixp12x0/ixp12x0_io.c Fri Apr 21 14:58:34 2023 +0000
+++ b/sys/arch/arm/ixp12x0/ixp12x0_io.c Fri Apr 21 15:00:27 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixp12x0_io.c,v 1.18 2018/03/16 17:56:32 ryo Exp $ */
+/* $NetBSD: ixp12x0_io.c,v 1.19 2023/04/21 15:00:48 skrll Exp $ */
/*
* Copyright (c) 2002, 2003
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixp12x0_io.c,v 1.18 2018/03/16 17:56:32 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp12x0_io.c,v 1.19 2023/04/21 15:00:48 skrll Exp $");
/*
* bus_space I/O functions for ixp12x0
@@ -151,7 +151,7 @@ ixp12x0_bs_map(void *t, bus_addr_t bpa,
endpa = round_page(bpa + size);
offset = bpa & PAGE_MASK;
startpa = trunc_page(bpa);
-
+
va = uvm_km_alloc(kernel_map, endpa - startpa, 0,
UVM_KMF_VAONLY | UVM_KMF_NOWAIT);
if (va == 0)
@@ -213,7 +213,7 @@ ixp12x0_bs_alloc(void *t,
panic("ixp12x0_bs_alloc(): not implemented\n");
}
-void
+void
ixp12x0_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
{
panic("ixp12x0_bs_free(): not implemented\n");
@@ -223,6 +223,6 @@ void
ixp12x0_bs_barrier(void *t, bus_space_handle_t bsh, bus_size_t offset, bus_size_t len, int flags)
{
/* NULL */
-}
+}
/* End of ixp12x0_io.c */
diff -r 055b1dedc7d4 -r 72f9a9579591 sys/arch/arm/sa11x0/sa11x0_io.c
--- a/sys/arch/arm/sa11x0/sa11x0_io.c Fri Apr 21 14:58:34 2023 +0000
+++ b/sys/arch/arm/sa11x0/sa11x0_io.c Fri Apr 21 15:00:27 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sa11x0_io.c,v 1.21 2018/03/16 17:56:32 ryo Exp $ */
+/* $NetBSD: sa11x0_io.c,v 1.22 2023/04/21 15:00:48 skrll Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sa11x0_io.c,v 1.21 2018/03/16 17:56:32 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sa11x0_io.c,v 1.22 2023/04/21 15:00:48 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -205,7 +205,7 @@ sa11x0_bs_unmap(void *t, bus_space_handl
uvm_km_free(kernel_map, va, endva - va, UVM_KMF_VAONLY);
}
-void
+void
sa11x0_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
{
@@ -241,4 +241,4 @@ sa11x0_bs_barrier(void *t, bus_space_han
bus_size_t len, int flags)
Home |
Main Index |
Thread Index |
Old Index