summaryrefslogtreecommitdiff
path: root/sys/dev/pci/autrireg.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-11-29 05:00:00 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-11-29 05:00:00 +0000
commitb65b6cb8edea6afa9cfd24a65ebcb987a200bea9 (patch)
tree65d1a15b2b401d6bffe7caff73bcd7ad19cbbb84 /sys/dev/pci/autrireg.h
parent329167638ffe05116d699503dd7f5b4c2cc9b021 (diff)
- Fix playback problem on SiS7018.
- mute the volume for interrupt channel. - add some improvements for device initialization. - Fix recording problem on SiS7018. From NetBSD via Gabriel Gonzalez.
Diffstat (limited to 'sys/dev/pci/autrireg.h')
-rw-r--r--sys/dev/pci/autrireg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/autrireg.h b/sys/dev/pci/autrireg.h
index 67644d0ab3c..40ce95247bd 100644
--- a/sys/dev/pci/autrireg.h
+++ b/sys/dev/pci/autrireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autrireg.h,v 1.1 2001/11/26 16:38:38 mickey Exp $ */
+/* $OpenBSD: autrireg.h,v 1.2 2002/11/29 04:59:59 fgsch Exp $ */
/*
* Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro.
@@ -146,8 +146,11 @@
* Indexed Channel Registers
*/
#define AUTRI_ARAM_CR 0xe0
+# define AUTRI_ATTR_PCMREC_SIS 0x88000000
+# define AUTRI_ATTR_ENASRC_SIS 0x00800000
# define AUTRI_CTRL_WAVEVOL 0x80000000
# define AUTRI_CTRL_MUTE 0x3fff0000
+# define AUTRI_CTRL_MUTE_SIS 0x3f000fff
# define AUTRI_CTRL_16BIT 0x00008000
# define AUTRI_CTRL_STEREO 0x00004000
# define AUTRI_CTRL_SIGNED 0x00002000