summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/cmireg.h
diff options
context:
space:
mode:
authororion <orion@FreeBSD.org>2001-03-29 15:36:31 +0000
committerorion <orion@FreeBSD.org>2001-03-29 15:36:31 +0000
commit67b8adb447739a2b95a73e0ed877fe63dd9a66f4 (patch)
tree6c0fe2de59b8bcf97ff3541941fddbe5860cda4a /sys/dev/sound/pci/cmireg.h
parent5e5c1f527befde65ade53def70c1a20267256f06 (diff)
downloadFreeBSD-src-67b8adb447739a2b95a73e0ed877fe63dd9a66f4.zip
FreeBSD-src-67b8adb447739a2b95a73e0ed877fe63dd9a66f4.tar.gz
- Added suspend/resume support.
- Added 4 speaker enable to initialization sequence. - Removed delays between register pokes which appear to aggravate a problem this card has sampling at 44.1kHz. With any form of delay, skew relative to system clock at 44.1kHz is usually in range 0-25% (now 0-3%). No other rates exhibit this problem. - Changed structs cmi_* to sc_*. Approved by: Cameron Grant <gandalf@vilnya.demon.co.uk>
Diffstat (limited to 'sys/dev/sound/pci/cmireg.h')
-rw-r--r--sys/dev/sound/pci/cmireg.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/cmireg.h b/sys/dev/sound/pci/cmireg.h
index b0e264c..9e838a6 100644
--- a/sys/dev/sound/pci/cmireg.h
+++ b/sys/dev/sound/pci/cmireg.h
@@ -114,9 +114,11 @@
#define CMPCI_REG_MISC 0x18
# define CMPCI_REG_POWER_DOWN 0x80000000
# define CMPCI_REG_BUS_AND_DSP_RESET 0x40000000
+# define CMPCI_REG_N4SPK3D 0x04000000
# define CMPCI_REG_W_SPDIF_48L 0x01000000
-# define CMPCI_REG_SPDIF_48K 0x00008000
+# define CMPCI_REG_XCHGDAC 0x00400000
# define CMPCI_REG_FM_ENABLE 0x00080000
+# define CMPCI_REG_SPDIF_48K 0x00008000
#define CMPCI_REG_SBDATA 0x22
#define CMPCI_REG_SBADDR 0x23
@@ -167,6 +169,11 @@
# define CMPCI_ADJUST_GAIN(sc, x) cmpci_adjust((x), 0xf8)
# define CMPCI_ADJUST_2_GAIN(sc, x) cmpci_adjust((x), 0xc0)
+#define CMPCI_REG_MIXER1 0x24
+# define CMPCI_SPK4 0x20
+# define CMPCI_REAR2FRONT 0x10
+# define CMPCI_X3DEN 0x02
+
#define CMPCI_REG_MPU_BASE 0x40
#define CMPCI_REG_MPU_SIZE 0x10
#define CMPCI_REG_FM_BASE 0x50
OpenPOWER on IntegriCloud