From 67b8adb447739a2b95a73e0ed877fe63dd9a66f4 Mon Sep 17 00:00:00 2001 From: orion Date: Thu, 29 Mar 2001 15:36:31 +0000 Subject: - 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 --- sys/dev/sound/pci/cmireg.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sys/dev/sound/pci/cmireg.h') 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 -- cgit v1.1