diff options
Diffstat (limited to 'include/sound/wss.h')
-rw-r--r-- | include/sound/wss.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sound/wss.h b/include/sound/wss.h index c896f6e1f937..fd01f22825cd 100644 --- a/include/sound/wss.h +++ b/include/sound/wss.h | |||
@@ -71,6 +71,11 @@ | |||
71 | #define WSS_HWSHARE_DMA1 (1<<1) | 71 | #define WSS_HWSHARE_DMA1 (1<<1) |
72 | #define WSS_HWSHARE_DMA2 (1<<2) | 72 | #define WSS_HWSHARE_DMA2 (1<<2) |
73 | 73 | ||
74 | /* IBM Thinkpad specific stuff */ | ||
75 | #define AD1848_THINKPAD_CTL_PORT1 0x15e8 | ||
76 | #define AD1848_THINKPAD_CTL_PORT2 0x15e9 | ||
77 | #define AD1848_THINKPAD_CS4248_ENABLE_BIT 0x02 | ||
78 | |||
74 | struct snd_wss { | 79 | struct snd_wss { |
75 | unsigned long port; /* base i/o port */ | 80 | unsigned long port; /* base i/o port */ |
76 | struct resource *res_port; | 81 | struct resource *res_port; |
@@ -153,6 +158,8 @@ int snd_wss_pcm(struct snd_wss *chip, int device, struct snd_pcm **rpcm); | |||
153 | int snd_wss_timer(struct snd_wss *chip, int device, struct snd_timer **rtimer); | 158 | int snd_wss_timer(struct snd_wss *chip, int device, struct snd_timer **rtimer); |
154 | int snd_wss_mixer(struct snd_wss *chip); | 159 | int snd_wss_mixer(struct snd_wss *chip); |
155 | 160 | ||
161 | const struct snd_pcm_ops *snd_wss_get_pcm_ops(int direction); | ||
162 | |||
156 | int snd_cs4236_create(struct snd_card *card, | 163 | int snd_cs4236_create(struct snd_card *card, |
157 | unsigned long port, | 164 | unsigned long port, |
158 | unsigned long cport, | 165 | unsigned long cport, |