Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc Style and cosmetic changes. No binary chang...
details: https://anonhg.NetBSD.org/src/rev/5aaadfcd58e4
branches: trunk
changeset: 1011655:5aaadfcd58e4
user: rin <rin%NetBSD.org@localhost>
date: Mon Jul 06 09:34:16 2020 +0000
description:
Style and cosmetic changes. No binary changes intended.
diffstat:
sys/arch/powerpc/booke/booke_cache.c | 9 +++------
sys/arch/powerpc/booke/booke_machdep.c | 6 ++++--
sys/arch/powerpc/booke/booke_pmap.c | 5 ++---
sys/arch/powerpc/booke/booke_stubs.c | 5 ++---
sys/arch/powerpc/booke/copyin.c | 8 ++++----
sys/arch/powerpc/booke/copyout.c | 8 ++++----
sys/arch/powerpc/booke/dev/cpunode.c | 7 +++----
sys/arch/powerpc/booke/dev/e500wdog.c | 7 +++----
sys/arch/powerpc/booke/dev/pq3cfi.c | 11 +++++++----
sys/arch/powerpc/booke/dev/pq3ddrc.c | 6 +++---
sys/arch/powerpc/booke/dev/pq3diic.c | 7 +++----
sys/arch/powerpc/booke/dev/pq3duart.c | 7 +++----
sys/arch/powerpc/booke/dev/pq3ehci.c | 6 ++++--
sys/arch/powerpc/booke/dev/pq3etsec.c | 11 ++++++-----
sys/arch/powerpc/booke/dev/pq3gpio.c | 11 ++++++-----
sys/arch/powerpc/booke/dev/pq3nandfcm.c | 6 ++++--
sys/arch/powerpc/booke/dev/pq3obio.c | 9 ++++-----
sys/arch/powerpc/booke/e500_intr.c | 14 ++++++++------
sys/arch/powerpc/booke/e500_tlb.c | 9 +++++----
sys/arch/powerpc/booke/kcopy.c | 5 ++---
sys/arch/powerpc/booke/pci/pq3pci.c | 14 ++++++++------
sys/arch/powerpc/booke/spe.c | 6 ++++--
sys/arch/powerpc/booke/spe_subr.S | 3 ++-
sys/arch/powerpc/booke/trap.c | 11 ++++++-----
sys/arch/powerpc/fpu/fpu_emu.c | 6 ++++--
sys/arch/powerpc/ibm4xx/dev/com_opb.c | 7 ++++---
sys/arch/powerpc/ibm4xx/dev/emacreg.h | 3 +--
sys/arch/powerpc/ibm4xx/dev/if_emac.c | 6 ++++--
sys/arch/powerpc/ibm4xx/dev/opb.c | 7 +++++--
sys/arch/powerpc/ibm4xx/dev/plb.c | 6 +++---
sys/arch/powerpc/ibm4xx/dev/rgmii.c | 5 +++--
sys/arch/powerpc/ibm4xx/ibm4xx_machdep.c | 9 ++++++---
sys/arch/powerpc/ibm4xx/openbios/locore.S | 9 ++++++---
sys/arch/powerpc/ibm4xx/pci/pchb.c | 8 ++++++--
sys/arch/powerpc/ibm4xx/pic_uic.c | 5 ++---
sys/arch/powerpc/ibm4xx/trap.c | 10 ++++++----
sys/arch/powerpc/include/aout_machdep.h | 3 ++-
sys/arch/powerpc/include/booke/e500var.h | 8 +++-----
sys/arch/powerpc/include/booke/pmap.h | 3 ++-
sys/arch/powerpc/include/bus_defs.h | 11 +++++++----
sys/arch/powerpc/include/db_machdep.h | 10 +++++-----
sys/arch/powerpc/include/fpu.h | 7 ++++---
sys/arch/powerpc/include/frame.h | 5 ++---
sys/arch/powerpc/include/oea/bat.h | 3 ++-
sys/arch/powerpc/include/param.h | 6 ++----
sys/arch/powerpc/include/psl.h | 3 ++-
sys/arch/powerpc/include/reloc.h | 3 ++-
sys/arch/powerpc/include/signal.h | 3 ++-
sys/arch/powerpc/include/trap.h | 3 ++-
sys/arch/powerpc/include/userret.h | 6 ++++--
sys/arch/powerpc/marvell/marvell_intr.h | 3 +--
sys/arch/powerpc/oea/altivec.c | 6 ++++--
sys/arch/powerpc/oea/altivec_subr.S | 8 +++++---
sys/arch/powerpc/oea/cpu_speedctl.c | 7 +++++--
sys/arch/powerpc/oea/cpu_subr.c | 15 +++++++++------
sys/arch/powerpc/oea/genassym.cf | 4 +++-
sys/arch/powerpc/oea/oea_machdep.c | 10 ++++++----
sys/arch/powerpc/oea/ofw_consinit.c | 26 +++++++++++++-------------
sys/arch/powerpc/oea/ofwoea_machdep.c | 23 +++++++++++------------
sys/arch/powerpc/oea/pmap.c | 8 +++++---
sys/arch/powerpc/oea/pmap_kernel.c | 6 ++++--
sys/arch/powerpc/oea/prep_machdep.c | 12 +++++++-----
sys/arch/powerpc/pci/pchb.c | 8 ++++----
sys/arch/powerpc/pci/pci_machdep_common.c | 8 ++++----
sys/arch/powerpc/pci/pci_module.c | 8 ++++----
sys/arch/powerpc/pci/pcib.c | 10 +++++-----
sys/arch/powerpc/pci/pciconf_ofmethod.c | 8 ++++----
sys/arch/powerpc/pic/intr.c | 10 ++++++----
sys/arch/powerpc/pic/ipi.c | 12 +++++++-----
sys/arch/powerpc/pic/ipi_openpic.c | 7 +++++--
sys/arch/powerpc/pic/openpic_common.c | 8 +++++---
sys/arch/powerpc/pic/pic_distopenpic.c | 8 +++++---
sys/arch/powerpc/pic/pic_mpcsoc.c | 10 ++++++----
sys/arch/powerpc/pic/pic_openpic.c | 10 ++++++----
sys/arch/powerpc/powerpc/bus_dma.c | 5 +++--
sys/arch/powerpc/powerpc/bus_space.c | 8 ++++----
sys/arch/powerpc/powerpc/compat_16_machdep.c | 6 +++---
sys/arch/powerpc/powerpc/db_interface.c | 6 ++++--
sys/arch/powerpc/powerpc/db_trace.c | 6 ++++--
sys/arch/powerpc/powerpc/fixup.c | 5 ++---
sys/arch/powerpc/powerpc/fpu.c | 6 ++++--
sys/arch/powerpc/powerpc/intr_stubs.c | 3 +--
sys/arch/powerpc/powerpc/kgdb_machdep.c | 6 ++++--
sys/arch/powerpc/powerpc/linux_syscall.c | 10 ++++++----
sys/arch/powerpc/powerpc/lock_stubs.S | 10 ++++++----
sys/arch/powerpc/powerpc/locore_subr.S | 10 ++++++----
sys/arch/powerpc/powerpc/ofwreal.S | 3 ++-
sys/arch/powerpc/powerpc/openfirm.c | 10 ++++++----
sys/arch/powerpc/powerpc/pmap_subr.c | 9 ++++++---
sys/arch/powerpc/powerpc/powerpc_machdep.c | 6 ++++--
sys/arch/powerpc/powerpc/process_machdep.c | 6 ++++--
sys/arch/powerpc/powerpc/setfault.S | 9 +++++++--
sys/arch/powerpc/powerpc/sig_machdep.c | 8 +++++---
sys/arch/powerpc/powerpc/syscall.c | 11 +++++++----
sys/arch/powerpc/powerpc/trap.c | 12 +++++++-----
sys/arch/powerpc/powerpc/trap_subr.S | 5 ++++-
sys/arch/powerpc/powerpc/vm_machdep.c | 6 ++++--
97 files changed, 428 insertions(+), 319 deletions(-)
diffs (truncated from 2422 to 300 lines):
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/booke_cache.c
--- a/sys/arch/powerpc/booke/booke_cache.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/booke_cache.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: booke_cache.c,v 1.4 2011/06/29 21:53:10 dholland Exp $ */
+/* $NetBSD: booke_cache.c,v 1.5 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -33,12 +33,9 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
-/*
- *
- */
+
#include <sys/cdefs.h>
-
-__KERNEL_RCSID(0, "$NetBSD: booke_cache.c,v 1.4 2011/06/29 21:53:10 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: booke_cache.c,v 1.5 2020/07/06 09:34:16 rin Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/booke_machdep.c
--- a/sys/arch/powerpc/booke/booke_machdep.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/booke_machdep.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: booke_machdep.c,v 1.30 2020/06/11 19:20:44 ad Exp $ */
+/* $NetBSD: booke_machdep.c,v 1.31 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -38,9 +38,11 @@
#define _POWERPC_BUS_DMA_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: booke_machdep.c,v 1.30 2020/06/11 19:20:44 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: booke_machdep.c,v 1.31 2020/07/06 09:34:16 rin Exp $");
+#ifdef _KERNEL_OPT
#include "opt_modular.h"
+#endif
#include <sys/param.h>
#include <sys/cpu.h>
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/booke_pmap.c
--- a/sys/arch/powerpc/booke/booke_pmap.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/booke_pmap.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: booke_pmap.c,v 1.27 2020/03/11 13:30:31 thorpej Exp $ */
+/* $NetBSD: booke_pmap.c,v 1.28 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -37,8 +37,7 @@
#define __PMAP_PRIVATE
#include <sys/cdefs.h>
-
-__KERNEL_RCSID(0, "$NetBSD: booke_pmap.c,v 1.27 2020/03/11 13:30:31 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: booke_pmap.c,v 1.28 2020/07/06 09:34:16 rin Exp $");
#include <sys/param.h>
#include <sys/kcore.h>
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/booke_stubs.c
--- a/sys/arch/powerpc/booke/booke_stubs.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/booke_stubs.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: booke_stubs.c,v 1.10 2016/07/11 16:06:52 matt Exp $ */
+/* $NetBSD: booke_stubs.c,v 1.11 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -35,8 +35,7 @@
*/
#include <sys/cdefs.h>
-
-__KERNEL_RCSID(0, "$NetBSD: booke_stubs.c,v 1.10 2016/07/11 16:06:52 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: booke_stubs.c,v 1.11 2020/07/06 09:34:16 rin Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/copyin.c
--- a/sys/arch/powerpc/booke/copyin.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/copyin.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: copyin.c,v 1.8 2020/03/02 03:34:28 rin Exp $ */
+/* $NetBSD: copyin.c,v 1.9 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
@@ -35,10 +35,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#define __UFETCHSTORE_PRIVATE
+
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: copyin.c,v 1.8 2020/03/02 03:34:28 rin Exp $");
-
-#define __UFETCHSTORE_PRIVATE
+__KERNEL_RCSID(0, "$NetBSD: copyin.c,v 1.9 2020/07/06 09:34:16 rin Exp $");
#include <sys/param.h>
#include <sys/lwp.h>
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/copyout.c
--- a/sys/arch/powerpc/booke/copyout.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/copyout.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: copyout.c,v 1.8 2020/03/05 02:02:08 rin Exp $ */
+/* $NetBSD: copyout.c,v 1.9 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
@@ -35,10 +35,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
+#define __UFETCHSTORE_PRIVATE
+
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: copyout.c,v 1.8 2020/03/05 02:02:08 rin Exp $");
-
-#define __UFETCHSTORE_PRIVATE
+__KERNEL_RCSID(0, "$NetBSD: copyout.c,v 1.9 2020/07/06 09:34:16 rin Exp $");
#include <sys/param.h>
#include <sys/lwp.h>
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/dev/cpunode.c
--- a/sys/arch/powerpc/booke/dev/cpunode.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/dev/cpunode.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpunode.c,v 1.5 2011/05/28 05:25:39 matt Exp $ */
+/* $NetBSD: cpunode.c,v 1.6 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -35,15 +35,14 @@
*/
#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: cpunode.c,v 1.6 2020/07/06 09:34:16 rin Exp $");
-__KERNEL_RCSID(0, "$NetBSD: cpunode.c,v 1.5 2011/05/28 05:25:39 matt Exp $");
+#include "ioconf.h"
#include <sys/param.h>
#include <sys/device.h>
#include <sys/cpu.h>
-#include "ioconf.h"
-
#include <powerpc/booke/cpuvar.h>
static int cpunode_match(device_t, cfdata_t, void *);
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/dev/e500wdog.c
--- a/sys/arch/powerpc/booke/dev/e500wdog.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/dev/e500wdog.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e500wdog.c,v 1.3 2011/08/01 17:05:16 matt Exp $ */
+/* $NetBSD: e500wdog.c,v 1.4 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -35,8 +35,9 @@
*/
#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: e500wdog.c,v 1.4 2020/07/06 09:34:16 rin Exp $");
-__KERNEL_RCSID(0, "$NetBSD: e500wdog.c,v 1.3 2011/08/01 17:05:16 matt Exp $");
+#include "ioconf.h"
#include <sys/param.h>
#include <sys/cpu.h>
@@ -45,8 +46,6 @@
#include <dev/sysmon/sysmonvar.h>
-#include "ioconf.h"
-
#include <sys/intr.h>
#include <powerpc/spr.h>
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/dev/pq3cfi.c
--- a/sys/arch/powerpc/booke/dev/pq3cfi.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3cfi.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pq3cfi.c,v 1.5 2012/07/18 19:01:50 matt Exp $ */
+/* $NetBSD: pq3cfi.c,v 1.6 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -32,11 +32,14 @@
* NOR CFI driver support for booke
*/
-#include "opt_flash.h"
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: pq3cfi.c,v 1.6 2020/07/06 09:34:16 rin Exp $");
+
#include "locators.h"
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pq3cfi.c,v 1.5 2012/07/18 19:01:50 matt Exp $");
+#ifdef _KERNEL_OPT
+#include "opt_flash.h"
+#endif
#include <sys/param.h>
#include <sys/systm.h>
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/dev/pq3ddrc.c
--- a/sys/arch/powerpc/booke/dev/pq3ddrc.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3ddrc.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pq3ddrc.c,v 1.1 2011/08/02 00:21:00 matt Exp $ */
+/* $NetBSD: pq3ddrc.c,v 1.2 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -33,11 +33,11 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
+
#define DDRC_PRIVATE
#include <sys/cdefs.h>
-
-__KERNEL_RCSID(0, "$NetBSD: pq3ddrc.c,v 1.1 2011/08/02 00:21:00 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pq3ddrc.c,v 1.2 2020/07/06 09:34:16 rin Exp $");
#include "ioconf.h"
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/dev/pq3diic.c
--- a/sys/arch/powerpc/booke/dev/pq3diic.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3diic.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pq3diic.c,v 1.4 2018/09/03 16:29:26 riastradh Exp $ */
+/* $NetBSD: pq3diic.c,v 1.5 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -35,16 +35,15 @@
*/
#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: pq3diic.c,v 1.5 2020/07/06 09:34:16 rin Exp $");
-__KERNEL_RCSID(0, "$NetBSD: pq3diic.c,v 1.4 2018/09/03 16:29:26 riastradh Exp $");
+#include "ioconf.h"
#include <sys/param.h>
#include <sys/cpu.h>
#include <sys/device.h>
#include <sys/tty.h>
-#include "ioconf.h"
-
#include <sys/intr.h>
#include <sys/bus.h>
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/dev/pq3duart.c
--- a/sys/arch/powerpc/booke/dev/pq3duart.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3duart.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pq3duart.c,v 1.5 2018/12/08 17:46:12 thorpej Exp $ */
+/* $NetBSD: pq3duart.c,v 1.6 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -35,16 +35,15 @@
*/
#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: pq3duart.c,v 1.6 2020/07/06 09:34:16 rin Exp $");
-__KERNEL_RCSID(0, "$NetBSD: pq3duart.c,v 1.5 2018/12/08 17:46:12 thorpej Exp $");
+#include "ioconf.h"
#include <sys/param.h>
#include <sys/cpu.h>
#include <sys/device.h>
#include <sys/tty.h>
-#include "ioconf.h"
-
#include <sys/intr.h>
#include <sys/bus.h>
diff -r d7565b6b23ea -r 5aaadfcd58e4 sys/arch/powerpc/booke/dev/pq3ehci.c
--- a/sys/arch/powerpc/booke/dev/pq3ehci.c Mon Jul 06 09:10:02 2020 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3ehci.c Mon Jul 06 09:34:16 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pq3ehci.c,v 1.9 2019/08/21 04:17:41 msaitoh Exp $ */
+/* $NetBSD: pq3ehci.c,v 1.10 2020/07/06 09:34:16 rin Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
Home |
Main Index |
Thread Index |
Old Index