Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300 TAB/space cleanup.
details: https://anonhg.NetBSD.org/src/rev/a4c16e6be61a
branches: trunk
changeset: 373053:a4c16e6be61a
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Jan 15 06:19:45 2023 +0000
description:
TAB/space cleanup.
diffstat:
sys/arch/hp300/dev/dcm.c | 6 +++---
sys/arch/hp300/dev/dcmreg.h | 4 ++--
sys/arch/hp300/dev/diofbreg.h | 4 ++--
sys/arch/hp300/dev/diofbvar.h | 4 ++--
sys/arch/hp300/dev/dma.c | 6 +++---
sys/arch/hp300/dev/dnkbd.c | 4 ++--
sys/arch/hp300/dev/dvbox.c | 6 +++---
sys/arch/hp300/dev/frodoreg.h | 4 ++--
sys/arch/hp300/dev/hpib.c | 6 +++---
sys/arch/hp300/dev/mcclock_frodo.c | 6 +++---
sys/arch/hp300/dev/rbox.c | 4 ++--
sys/arch/hp300/dev/rboxreg.h | 4 ++--
sys/arch/hp300/dev/rtc.c | 6 +++---
sys/arch/hp300/dev/sti_sgc.c | 6 +++---
sys/arch/hp300/dev/topcatreg.h | 24 ++++++++++++------------
sys/arch/hp300/hp300/autoconf.c | 6 +++---
sys/arch/hp300/hp300/machdep.c | 6 +++---
sys/arch/hp300/hp300/trap.c | 8 ++++----
sys/arch/hp300/include/bus.h | 4 ++--
sys/arch/hp300/include/cpu.h | 4 ++--
sys/arch/hp300/stand/common/clock.c | 4 ++--
sys/arch/hp300/stand/common/devopen.c | 24 ++++++++++++------------
sys/arch/hp300/stand/common/hil.c | 14 +++++++-------
sys/arch/hp300/stand/common/ite_dumb.c | 4 ++--
sys/arch/hp300/stand/common/ite_sti.c | 4 ++--
sys/arch/hp300/stand/common/machdep.c | 6 +++---
sys/arch/hp300/stand/common/netio.c | 12 ++++++------
sys/arch/hp300/stand/common/prf.c | 4 ++--
sys/arch/hp300/stand/common/rd.c | 4 ++--
sys/arch/hp300/stand/common/scsi.c | 4 ++--
sys/arch/hp300/stand/common/scsireg.h | 10 +++++-----
sys/arch/hp300/stand/common/sd.c | 8 ++++----
sys/arch/hp300/stand/inst/inst.c | 4 ++--
33 files changed, 112 insertions(+), 112 deletions(-)
diffs (truncated from 911 to 300 lines):
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/dcm.c
--- a/sys/arch/hp300/dev/dcm.c Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/dcm.c Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dcm.c,v 1.90 2022/04/10 09:50:45 andvar Exp $ */
+/* $NetBSD: dcm.c,v 1.91 2023/01/15 06:19:45 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.90 2022/04/10 09:50:45 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dcm.c,v 1.91 2023/01/15 06:19:45 tsutsui Exp $");
#include "opt_kgdb.h"
@@ -302,7 +302,7 @@
static struct dcmdevice *dcm_cn = NULL; /* pointer to hardware */
static int dcmconsinit; /* has been initialized */
#if 0
-static int dcm_lastcnpri = CN_DEAD; /* XXX last priority */
+static int dcm_lastcnpri = CN_DEAD; /* XXX last priority */
#endif
static struct consdev dcm_cons = {
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/dcmreg.h
--- a/sys/arch/hp300/dev/dcmreg.h Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/dcmreg.h Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dcmreg.h,v 1.10 2014/05/22 16:30:40 dholland Exp $ */
+/* $NetBSD: dcmreg.h,v 1.11 2023/01/15 06:19:45 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -196,7 +196,7 @@
#define BR_50 0x01
#define BR_75 0x02
#define BR_110 0x03
-#define BR_134 0x04
+#define BR_134 0x04
#define BR_150 0x05
#define BR_300 0x06
#define BR_600 0x07
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/diofbreg.h
--- a/sys/arch/hp300/dev/diofbreg.h Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/diofbreg.h Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: diofbreg.h,v 1.3 2011/02/12 16:40:29 tsutsui Exp $ */
+/* $NetBSD: diofbreg.h,v 1.4 2023/01/15 06:19:45 tsutsui Exp $ */
/* $OpenBSD: diofbreg.h,v 1.3 2007/01/07 15:13:52 miod Exp $ */
/*
@@ -65,7 +65,7 @@
struct diofbreg {
uint8_t :8;
uint8_t id; /* id and reset register 0x01 */
- uint8_t sec_interrupt; /* secondary interrupt register 0x02 */
+ uint8_t sec_interrupt; /* secondary interrupt register 0x02 */
uint8_t interrupt; /* interrupt register 0x03 */
uint8_t :8;
uint8_t fbwmsb; /* frame buffer width MSB 0x05 */
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/diofbvar.h
--- a/sys/arch/hp300/dev/diofbvar.h Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/diofbvar.h Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: diofbvar.h,v 1.3 2011/02/12 16:40:29 tsutsui Exp $ */
+/* $NetBSD: diofbvar.h,v 1.4 2023/01/15 06:19:45 tsutsui Exp $ */
/* $OpenBSD: diofbvar.h,v 1.10 2006/08/11 18:33:13 miod Exp $ */
/*
@@ -112,7 +112,7 @@
#define RR_COPY 0x3
#define RR_XOR 0x6
#define RR_INVERT 0xa
-#define RR_COPYINVERTED 0xc
+#define RR_COPYINVERTED 0xc
void diofb_cnattach(struct diofb *);
void diofb_end_attach(device_t, struct wsdisplay_accessops *, struct diofb *,
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/dma.c
--- a/sys/arch/hp300/dev/dma.c Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/dma.c Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dma.c,v 1.44 2021/09/06 20:55:08 andvar Exp $ */
+/* $NetBSD: dma.c,v 1.45 2023/01/15 06:19:45 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
#include "opt_m68k_arch.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.44 2021/09/06 20:55:08 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dma.c,v 1.45 2023/01/15 06:19:45 tsutsui Exp $");
#include <machine/hp300spu.h> /* XXX param.h includes cpu.h */
@@ -601,7 +601,7 @@
if (dmadebug & DDB_IO) {
if (((dmadebug&DDB_WORD) && (dc->dm_cmd&DMA_WORD)) ||
((dmadebug&DDB_LWORD) && (dc->dm_cmd&DMA_LWORD)))
- printf("dmaintr: flags %x unit %d stat %x "
+ printf("dmaintr: flags %x unit %d stat %x "
"next %d\n",
dc->dm_flags, i, stat, dc->dm_cur + 1);
}
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/dnkbd.c
--- a/sys/arch/hp300/dev/dnkbd.c Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/dnkbd.c Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dnkbd.c,v 1.13 2021/08/07 16:18:53 thorpej Exp $ */
+/* $NetBSD: dnkbd.c,v 1.14 2023/01/15 06:19:45 tsutsui Exp $ */
/* $OpenBSD: dnkbd.c,v 1.17 2009/07/23 21:05:56 blambert Exp $ */
/*
@@ -51,7 +51,7 @@
*
* 0x00 go to cooked mode.
* 0x01 go to 'raw' (scancode) mode.
- * 0x12,0x21 status report as <id1>\r<id2>\r<model>\r followed by 0xff
+ * 0x12,0x21 status report as <id1>\r<id2>\r<model>\r followed by 0xff
* and then the cooked/raw status.
* 0x21,0x81 beep on
* 0x21,0x82 beep off
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/dvbox.c
--- a/sys/arch/hp300/dev/dvbox.c Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/dvbox.c Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dvbox.c,v 1.3 2011/02/18 19:15:43 tsutsui Exp $ */
+/* $NetBSD: dvbox.c,v 1.4 2023/01/15 06:19:45 tsutsui Exp $ */
/* $OpenBSD: dvbox.c,v 1.13 2006/08/11 18:33:13 miod Exp $ */
/*
@@ -278,7 +278,7 @@
volatile struct dvboxfb *db = (struct dvboxfb *)fb->regkva;
u_int i;
- db->regs.id = 0x80;
+ db->regs.id = 0x80;
DELAY(100);
db->regs.interrupt = 0x04;
@@ -329,7 +329,7 @@
*/
db->regs.interrupt = 0x04;
db->drive = 0x10;
- db->rep_rule = DVBOX_DUALROP(RR_COPY);
+ db->rep_rule = DVBOX_DUALROP(RR_COPY);
db->opwen = 0x01;
db->fbwen = 0x0;
db->fold = 0x01;
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/frodoreg.h
--- a/sys/arch/hp300/dev/frodoreg.h Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/frodoreg.h Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: frodoreg.h,v 1.5 2014/04/19 05:37:54 tsutsui Exp $ */
+/* $NetBSD: frodoreg.h,v 1.6 2023/01/15 06:19:45 tsutsui Exp $ */
/*
* Copyright (c) 1997 Michael Smith. All rights reserved.
@@ -81,7 +81,7 @@
/* manipulate interrupt registers */
#define FRODO_GETMASK(sc) \
- ((FRODO_READ((sc), FRODO_PIC_MU) << 8) | \
+ ((FRODO_READ((sc), FRODO_PIC_MU) << 8) | \
FRODO_READ((sc), FRODO_PIC_ML))
#define FRODO_SETMASK(sc, val) do { \
FRODO_WRITE((sc), FRODO_PIC_MU, ((val) >> 8) & 0xff); \
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/hpib.c
--- a/sys/arch/hp300/dev/hpib.c Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/hpib.c Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hpib.c,v 1.44 2021/08/07 16:18:53 thorpej Exp $ */
+/* $NetBSD: hpib.c,v 1.45 2023/01/15 06:19:45 tsutsui Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpib.c,v 1.44 2021/08/07 16:18:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpib.c,v 1.45 2023/01/15 06:19:45 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -117,7 +117,7 @@
* a device is attached to the system!
*
* * We nevertheless probe the whole (slave, punit) tuple space, since
- * drivers for devices with a unique ID know exactly where to attach;
+ * drivers for devices with a unique ID know exactly where to attach;
* and we disallow ``star'' locators for other drivers.
*/
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/mcclock_frodo.c
--- a/sys/arch/hp300/dev/mcclock_frodo.c Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/mcclock_frodo.c Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcclock_frodo.c,v 1.1 2014/04/19 05:37:54 tsutsui Exp $ */
+/* $NetBSD: mcclock_frodo.c,v 1.2 2023/01/15 06:19:45 tsutsui Exp $ */
/*-
* Copyright (c) 2014 Izumi Tsutsui. All rights reserved.
*
@@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mcclock_frodo.c,v 1.1 2014/04/19 05:37:54 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mcclock_frodo.c,v 1.2 2023/01/15 06:19:45 tsutsui Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -97,7 +97,7 @@
mcclock_frodo_write(sc, MC_REGB, MC_REGB_BINARY | MC_REGB_24HR);
/* make sure to start the 32.768kHz OSC */
- mcclock_frodo_write(sc, MC_REGA,
+ mcclock_frodo_write(sc, MC_REGA,
(mcclock_frodo_read(sc, MC_REGA) & ~MC_REGA_DVMASK) |
MC_BASE_32_KHz);
}
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/rbox.c
--- a/sys/arch/hp300/dev/rbox.c Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/rbox.c Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rbox.c,v 1.3 2011/02/18 19:15:43 tsutsui Exp $ */
+/* $NetBSD: rbox.c,v 1.4 2023/01/15 06:19:45 tsutsui Exp $ */
/* $OpenBSD: rbox.c,v 1.14 2006/08/11 18:33:13 miod Exp $ */
/*
@@ -323,7 +323,7 @@
CM2GRN(fb)[0x01].value = 0xFF;
CM2BLU(fb)[0x01].value = 0xFF;
- rb->blink = 0x00;
+ rb->blink = 0x00;
rb->write_enable = 0x01;
rb->opwen = 0x00;
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/rboxreg.h
--- a/sys/arch/hp300/dev/rboxreg.h Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/rboxreg.h Sun Jan 15 06:19:45 2023 +0000
@@ -1,5 +1,5 @@
/* $OpenBSD: rboxreg.h,v 1.2 2005/01/24 21:36:39 miod Exp $ */
-/* $NetBSD: rboxreg.h,v 1.2 2011/02/12 16:40:29 tsutsui Exp $ */
+/* $NetBSD: rboxreg.h,v 1.3 2023/01/15 06:19:45 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -70,7 +70,7 @@
uint8_t filler3[0x405b - 0x4048];
uint8_t scanbusy; /* scan converteris active 0x405B */
uint8_t filler3b[0x4083 - 0x405c];
- uint8_t video_enable; /* drive vid. refresh bus 0x4083 */
+ uint8_t video_enable; /* drive vid. refresh bus 0x4083 */
uint8_t filler4[3];
uint8_t display_enable; /* enable the display 0x4087 */
uint8_t filler5[8];
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/rtc.c
--- a/sys/arch/hp300/dev/rtc.c Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/rtc.c Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtc.c,v 1.21 2014/04/19 05:37:54 tsutsui Exp $ */
+/* $NetBSD: rtc.c,v 1.22 2023/01/15 06:19:45 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtc.c,v 1.21 2014/04/19 05:37:54 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtc.c,v 1.22 2023/01/15 06:19:45 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -140,7 +140,7 @@
read_okay = false;
}
-#define rtc_to_decimal(a,b) (rtc_registers[a] * 10 + rtc_registers[b])
+#define rtc_to_decimal(a,b) (rtc_registers[a] * 10 + rtc_registers[b])
dt->dt_sec = rtc_to_decimal(1, 0);
dt->dt_min = rtc_to_decimal(3, 2);
diff -r d0ebd93d8e90 -r a4c16e6be61a sys/arch/hp300/dev/sti_sgc.c
--- a/sys/arch/hp300/dev/sti_sgc.c Sun Jan 15 05:08:33 2023 +0000
+++ b/sys/arch/hp300/dev/sti_sgc.c Sun Jan 15 06:19:45 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sti_sgc.c,v 1.7 2022/07/03 11:30:48 andvar Exp $ */
+/* $NetBSD: sti_sgc.c,v 1.8 2023/01/15 06:19:45 tsutsui Exp $ */
/* $OpenBSD: sti_sgc.c,v 1.14 2007/05/26 00:36:03 krw Exp $ */
/*
@@ -27,7 +27,7 @@
*
Home |
Main Index |
Thread Index |
Old Index