diff options
Diffstat (limited to 'sound/oss/swarm_cs4297a.c')
-rw-r--r-- | sound/oss/swarm_cs4297a.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sound/oss/swarm_cs4297a.c b/sound/oss/swarm_cs4297a.c index 09d46484bc1a..7d8803a00b79 100644 --- a/sound/oss/swarm_cs4297a.c +++ b/sound/oss/swarm_cs4297a.c | |||
@@ -69,7 +69,6 @@ | |||
69 | #include <linux/sound.h> | 69 | #include <linux/sound.h> |
70 | #include <linux/slab.h> | 70 | #include <linux/slab.h> |
71 | #include <linux/soundcard.h> | 71 | #include <linux/soundcard.h> |
72 | #include <linux/ac97_codec.h> | ||
73 | #include <linux/pci.h> | 72 | #include <linux/pci.h> |
74 | #include <linux/bitops.h> | 73 | #include <linux/bitops.h> |
75 | #include <linux/interrupt.h> | 74 | #include <linux/interrupt.h> |
@@ -199,6 +198,22 @@ static const char invalid_magic[] = | |||
199 | } \ | 198 | } \ |
200 | }) | 199 | }) |
201 | 200 | ||
201 | /* AC97 registers */ | ||
202 | #define AC97_MASTER_VOL_STEREO 0x0002 /* Line Out */ | ||
203 | #define AC97_PCBEEP_VOL 0x000a /* none */ | ||
204 | #define AC97_PHONE_VOL 0x000c /* TAD Input (mono) */ | ||
205 | #define AC97_MIC_VOL 0x000e /* MIC Input (mono) */ | ||
206 | #define AC97_LINEIN_VOL 0x0010 /* Line Input (stereo) */ | ||
207 | #define AC97_CD_VOL 0x0012 /* CD Input (stereo) */ | ||
208 | #define AC97_AUX_VOL 0x0016 /* Aux Input (stereo) */ | ||
209 | #define AC97_PCMOUT_VOL 0x0018 /* Wave Output (stereo) */ | ||
210 | #define AC97_RECORD_SELECT 0x001a /* */ | ||
211 | #define AC97_RECORD_GAIN 0x001c | ||
212 | #define AC97_GENERAL_PURPOSE 0x0020 | ||
213 | #define AC97_3D_CONTROL 0x0022 | ||
214 | #define AC97_POWER_CONTROL 0x0026 | ||
215 | #define AC97_VENDOR_ID1 0x007c | ||
216 | |||
202 | struct list_head cs4297a_devs = { &cs4297a_devs, &cs4297a_devs }; | 217 | struct list_head cs4297a_devs = { &cs4297a_devs, &cs4297a_devs }; |
203 | 218 | ||
204 | typedef struct serdma_descr_s { | 219 | typedef struct serdma_descr_s { |