summaryrefslogtreecommitdiff
path: root/sys/dev/isa/gusreg.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1997-07-10 23:06:41 +0000
committerNiels Provos <provos@cvs.openbsd.org>1997-07-10 23:06:41 +0000
commit0826c0a0161aae0be113fb06ba0a48642830c9b9 (patch)
tree8b607d05b561823151e23638d77fd97f8baeb591 /sys/dev/isa/gusreg.h
parent2ec8c7489d9ac4f6eb544112b10bfae5a1f06913 (diff)
sync with NETBSD 30/3/97 + adapating aria.c
Diffstat (limited to 'sys/dev/isa/gusreg.h')
-rw-r--r--sys/dev/isa/gusreg.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/sys/dev/isa/gusreg.h b/sys/dev/isa/gusreg.h
index 975ba6ec74e..88f55d1cf81 100644
--- a/sys/dev/isa/gusreg.h
+++ b/sys/dev/isa/gusreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gusreg.h,v 1.2 1996/03/08 16:42:56 niklas Exp $ */
+/* $OpenBSD: gusreg.h,v 1.3 1997/07/10 23:06:35 provos Exp $ */
/* $NetBSD: gusreg.h,v 1.3 1996/02/05 02:22:10 jtc Exp $ */
/*-
@@ -243,17 +243,16 @@
* Codec/Mixer registers
*/
-/* all these get +4 more in ad1848, sigh. */
-#define GUS_MAX_CODEC_BASE 0x108
-#define GUS_DAUGHTER_CODEC_BASE 0x52C
-#define GUS_DAUGHTER_CODEC_BASE2 0x600
-#define GUS_DAUGHTER_CODEC_BASE3 0xE7C
-#define GUS_DAUGHTER_CODEC_BASE4 0xF3C
-
-#define GUS_CODEC_SELECT 4 /* base + 0 */
-#define GUS_CODEC_DATA 5 /* base + 1 */
-#define GUS_CODEC_STATUS 6 /* base + 2 */
-#define GUS_CODEC_PIO 7 /* base + 3 */
+#define GUS_MAX_CODEC_BASE 0x10C
+#define GUS_DAUGHTER_CODEC_BASE 0x530
+#define GUS_DAUGHTER_CODEC_BASE2 0x604
+#define GUS_DAUGHTER_CODEC_BASE3 0xE80
+#define GUS_DAUGHTER_CODEC_BASE4 0xF40
+
+#define GUS_CODEC_SELECT 0
+#define GUS_CODEC_DATA 1
+#define GUS_CODEC_STATUS 2
+#define GUS_CODEC_PIO 3
#define GUS_MAX_CTRL 0x106
#define GUS_MAX_BASEBITS 0xf /* sets middle nibble of 3X6 */