summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2023-06-24 08:00:52 +0000
committertsutsui <tsutsui@NetBSD.org>2023-06-24 08:00:52 +0000
commit40ed500245dca4f087783fd470f156cad915c5bb (patch)
tree345b4d40e7e5cd90fe1b5db67851cc13a45e4cc6 /sys
parentf0db920f20d90a3737a25d3b7a88039455f4b0da (diff)
Add comments and remove nonexistent status registers.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/luna68k/stand/boot/sioreg.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys/arch/luna68k/stand/boot/sioreg.h b/sys/arch/luna68k/stand/boot/sioreg.h
index 9cb1d92a900..0e5292fde47 100644
--- a/sys/arch/luna68k/stand/boot/sioreg.h
+++ b/sys/arch/luna68k/stand/boot/sioreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sioreg.h,v 1.5 2023/03/28 20:01:57 andvar Exp $ */
+/* $NetBSD: sioreg.h,v 1.6 2023/06/24 08:00:52 tsutsui Exp $ */
/*
* Copyright (c) 1992 OMRON Corporation.
@@ -98,17 +98,14 @@ struct siodevice {
#define WR6 0x06
#define WR7 0x07
-#define WR2A 0x02
-#define WR2B 0x12
+#define WR2A 0x02 /* on channel A */
+#define WR2B 0x12 /* on channel B */
#define RR0 0x08
#define RR1 0x09
#define RR2 0x0A
-#define RR3 0x0B
-#define RR4 0x0C
-#define RR2A 0x0A
-#define RR2B 0x1A
+#define RR2B 0x1A /* only on channel B */
#define WR0_NOP 0x00 /* No Operation */
#define WR0_SNDABRT 0x08 /* Send Abort (HDLC) */