Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k TAB/space/indent cleanup.
details: https://anonhg.NetBSD.org/src/rev/d0ebd93d8e90
branches: trunk
changeset: 373052:d0ebd93d8e90
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Jan 15 05:08:33 2023 +0000
description:
TAB/space/indent cleanup.
diffstat:
sys/arch/luna68k/dev/lcd.c | 6 +++---
sys/arch/luna68k/dev/lunaws.c | 6 +++---
sys/arch/luna68k/dev/omkbdmap.c | 10 +++++-----
sys/arch/luna68k/dev/omrasops.c | 6 +++---
sys/arch/luna68k/dev/psgpam_enc.c | 4 ++--
sys/arch/luna68k/dev/siotty.c | 15 +++++++--------
sys/arch/luna68k/dev/xp.c | 6 +++---
sys/arch/luna68k/include/bus.h | 4 ++--
sys/arch/luna68k/include/cpu.h | 4 ++--
sys/arch/luna68k/include/lcd.h | 10 +++++-----
sys/arch/luna68k/include/param.h | 4 ++--
sys/arch/luna68k/include/vmparam.h | 6 +++---
sys/arch/luna68k/luna68k/disksubr.c | 12 ++++++------
sys/arch/luna68k/luna68k/mainbus.c | 14 +++++++-------
sys/arch/luna68k/luna68k/pmap_bootstrap.c | 6 +++---
sys/arch/luna68k/luna68k/trap.c | 8 ++++----
16 files changed, 60 insertions(+), 61 deletions(-)
diffs (truncated from 458 to 300 lines):
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/dev/lcd.c
--- a/sys/arch/luna68k/dev/lcd.c Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/dev/lcd.c Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lcd.c,v 1.12 2020/12/29 17:17:14 tsutsui Exp $ */
+/* $NetBSD: lcd.c,v 1.13 2023/01/15 05:08:33 tsutsui Exp $ */
/* $OpenBSD: lcd.c,v 1.7 2015/02/10 22:42:35 miod Exp $ */
/*-
@@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: lcd.c,v 1.12 2020/12/29 17:17:14 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lcd.c,v 1.13 2023/01/15 05:08:33 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -297,7 +297,7 @@
s = splhigh();
p1->portC = POWER | READ_BUSY | DISABLE;
splx(s);
-}
+}
static void
lcdput(int cc)
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/dev/lunaws.c
--- a/sys/arch/luna68k/dev/lunaws.c Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/dev/lunaws.c Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lunaws.c,v 1.41 2022/06/25 01:54:37 tsutsui Exp $ */
+/* $NetBSD: lunaws.c,v 1.42 2023/01/15 05:08:33 tsutsui Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: lunaws.c,v 1.41 2022/06/25 01:54:37 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lunaws.c,v 1.42 2023/01/15 05:08:33 tsutsui Exp $");
#include "opt_wsdisplay_compat.h"
#include "wsmouse.h"
@@ -525,7 +525,7 @@
buzcmd |= OMKBD_BUZZER_150HZ;
else
buzcmd |= OMKBD_BUZZER_100HZ;
-
+
/* no volume control for buzzer on the LUNA keyboards */
return buzcmd;
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/dev/omkbdmap.c
--- a/sys/arch/luna68k/dev/omkbdmap.c Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/dev/omkbdmap.c Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omkbdmap.c,v 1.2 2014/10/04 14:42:41 tsutsui Exp $ */
+/* $NetBSD: omkbdmap.c,v 1.3 2023/01/15 05:08:33 tsutsui Exp $ */
/* $OpenBSD: omkbdmap.c,v 1.2 2013/11/16 18:31:44 miod Exp $ */
/* Partially from:
@@ -97,9 +97,9 @@
0x0c, /* 0x2c: equal */
0x0d, /* 0x2d: asciitilde */
0x7d, /* 0x2e: bar */
- 0x00, /* 0x2f */
- 0x00, /* 0x30: f13 */
- 0x00, /* 0x31: f14 */
+ 0x00, /* 0x2f */
+ 0x00, /* 0x30: f13 */
+ 0x00, /* 0x31: f14 */
0x10, /* 0x32 */
0x11, /* 0x33 */
0x12, /* 0x34 */
@@ -207,7 +207,7 @@
KC(0x1d), KS_KP_Left,
KC(0x1e), KS_KP_Right,
KC(0x1f), KS_KP_Down,
- /* 0x20, KS_f11, */
+ /* 0x20, KS_f11, */
/* 0x21, KS_f12, */
KC(0x22), KS_1, KS_exclam,
KC(0x23), KS_2, KS_quotedbl,
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/dev/omrasops.c
--- a/sys/arch/luna68k/dev/omrasops.c Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/dev/omrasops.c Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omrasops.c,v 1.25 2022/10/03 17:42:35 tsutsui Exp $ */
+/* $NetBSD: omrasops.c,v 1.26 2023/01/15 05:08:33 tsutsui Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: omrasops.c,v 1.25 2022/10/03 17:42:35 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omrasops.c,v 1.26 2023/01/15 05:08:33 tsutsui Exp $");
/*
* Designed speficically for 'm68k bitorder';
@@ -150,7 +150,7 @@
/* luna68k version GETBITS() that gets w bits from bit x at psrc memory */
#define FASTGETBITS(psrc, x, w, dst) \
asm("bfextu %3{%1:%2},%0" \
- : "=d" (dst) \
+ : "=d" (dst) \
: "di" (x), "di" (w), "o" (*(uint32_t *)(psrc)))
/* luna68k version PUTBITS() that puts w bits from bit x at pdst memory */
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/dev/psgpam_enc.c
--- a/sys/arch/luna68k/dev/psgpam_enc.c Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/dev/psgpam_enc.c Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psgpam_enc.c,v 1.2 2022/10/01 13:41:12 tsutsui Exp $ */
+/* $NetBSD: psgpam_enc.c,v 1.3 2023/01/15 05:08:33 tsutsui Exp $ */
/*
* Copyright (c) 2018 Yosuke Sugahara. All rights reserved.
@@ -106,7 +106,7 @@
*d++ = ((t & 0x000f)); \
} while (0)
-#define ENCODER_DEFINE(enc, TT, table, writer) \
+#define ENCODER_DEFINE(enc, TT, table, writer) \
void \
psgpam_aint_to_##enc(audio_filter_arg_t *arg) \
{ \
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/dev/siotty.c
--- a/sys/arch/luna68k/dev/siotty.c Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/dev/siotty.c Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siotty.c,v 1.52 2022/11/22 16:17:29 tsutsui Exp $ */
+/* $NetBSD: siotty.c,v 1.53 2023/01/15 05:08:33 tsutsui Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: siotty.c,v 1.52 2022/11/22 16:17:29 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siotty.c,v 1.53 2023/01/15 05:08:33 tsutsui Exp $");
#include "opt_ddb.h"
#include "siotty.h"
@@ -700,10 +700,10 @@
static void
siottycninit(struct consdev *cn)
{
-/*
- * Channel A is immediately initialized with 9600N1 right after cold
- * boot/reset/poweron. ROM monitor emits one line message on CH.A.
- */
+ /*
+ * Channel A is immediately initialized with 9600N1 right after cold
+ * boot/reset/poweron. ROM monitor emits one line message on CH.A.
+ */
struct sioreg *sio, *sio_base, *sio_a, *sio_b;
sio_base = (struct sioreg *)OBIO_SIO;
@@ -711,8 +711,7 @@
sio_b = &sio_base[1];
sio = sio_a;
- siottycons.cn_dev =
- makedev(cdevsw_lookup_major(&siotty_cdevsw), 0);
+ siottycons.cn_dev = makedev(cdevsw_lookup_major(&siotty_cdevsw), 0);
cn_init_magic(&siotty_cnm_state);
cn_set_magic("\047\001");
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/dev/xp.c
--- a/sys/arch/luna68k/dev/xp.c Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/dev/xp.c Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xp.c,v 1.7 2022/06/10 21:42:23 tsutsui Exp $ */
+/* $NetBSD: xp.c,v 1.8 2023/01/15 05:08:33 tsutsui Exp $ */
/*-
* Copyright (c) 2016 Izumi Tsutsui. All rights reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xp.c,v 1.7 2022/06/10 21:42:23 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xp.c,v 1.8 2023/01/15 05:08:33 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -139,7 +139,7 @@
struct xp_softc *sc;
int unit;
u_int a;
-
+
DPRINTF(XP_DEBUG_ALL, ("%s\n", __func__));
unit = minor(dev);
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/include/bus.h
--- a/sys/arch/luna68k/include/bus.h Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/include/bus.h Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.16 2021/01/23 19:38:08 christos Exp $ */
+/* $NetBSD: bus.h,v 1.17 2023/01/15 05:08:33 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -561,5 +561,5 @@
* There is no bus_dma(9)'fied bus drivers on this port.
*/
#define __HAVE_NO_BUS_DMA
-
+
#endif /* _MACHINE_BUS_H_ */
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/include/cpu.h
--- a/sys/arch/luna68k/include/cpu.h Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/include/cpu.h Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.37 2019/11/23 19:40:35 ad Exp $ */
+/* $NetBSD: cpu.h,v 1.38 2023/01/15 05:08:33 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -81,7 +81,7 @@
* or after the current trap/syscall if in system mode.
*/
#define cpu_need_resched(ci,l,flags) do { \
- __USE(flags); \
+ __USE(flags); \
aston(); \
} while (/*CONSTCOND*/0)
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/include/lcd.h
--- a/sys/arch/luna68k/include/lcd.h Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/include/lcd.h Sun Jan 15 05:08:33 2023 +0000
@@ -1,7 +1,7 @@
-/* $NetBSD: lcd.h,v 1.1 2017/03/09 14:05:58 tsutsui Exp $ */
+/* $NetBSD: lcd.h,v 1.2 2023/01/15 05:08:33 tsutsui Exp $ */
/* $OpenBSD: lcd.h,v 1.2 2011/03/23 16:54:35 pirofti Exp $ */
-/*
+/*
* Copyright (c) 2007 Kenji AOYAMA <aoyama%nk-home.net@localhost>
* All rights reserved.
*
@@ -47,15 +47,15 @@
/* argument value for each ioctl */
-/* LCDMODE; when a character data is written, then ... */
-#define LCDMODE_C_LEFT 0x04 /* cursor moves left */
+/* LCDMODE; when a character data is written, then ... */
+#define LCDMODE_C_LEFT 0x04 /* cursor moves left */
#define LCDMODE_C_RIGHT 0x06 /* cursor moves right */
#define LCDMODE_D_LEFT 0x05 /* display area shifts to left */
#define LCDMODE_D_RIGHT 0x07 /* display area shifts to right */
/* LCDDISP; you can use these values or'ed */
#define LCD_DISPLAY 0x04 /* LCD display on */
-#define LCD_CURSOR 0x02 /* Cursor on */
+#define LCD_CURSOR 0x02 /* Cursor on */
#define LCD_BLINK 0x01 /* Blink on */
/* LCDMOVE; just move the cursor or shift the display area */
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/include/param.h
--- a/sys/arch/luna68k/include/param.h Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/include/param.h Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.14 2019/12/28 12:34:35 isaki Exp $ */
+/* $NetBSD: param.h,v 1.15 2023/01/15 05:08:33 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -41,7 +41,7 @@
#ifndef _MACHINE_PARAM_H_
#define _MACHINE_PARAM_H_
-#define _MACHINE luna68k
+#define _MACHINE luna68k
#define MACHINE "luna68k"
#define PGSHIFT 12 /* LOG2(NBPG) */
diff -r cea4ac44c142 -r d0ebd93d8e90 sys/arch/luna68k/include/vmparam.h
--- a/sys/arch/luna68k/include/vmparam.h Sun Jan 15 00:53:19 2023 +0000
+++ b/sys/arch/luna68k/include/vmparam.h Sun Jan 15 05:08:33 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.23 2020/02/01 19:41:49 tsutsui Exp $ */
+/* $NetBSD: vmparam.h,v 1.24 2023/01/15 05:08:33 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -78,8 +78,8 @@
#define USRIOSIZE (1 * NPTEPG) /* 4mb */
#endif
-/*
- * Mach derived constants
+/*
Home |
Main Index |
Thread Index |
Old Index