summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorariff <ariff@FreeBSD.org>2006-10-02 20:46:34 +0000
committerariff <ariff@FreeBSD.org>2006-10-02 20:46:34 +0000
commitc41681030d9e387e51f7aff15b2d4a0f259954e0 (patch)
tree9a20ff0d9daf7b70c55aac864f4b18110da4e800 /sys/dev
parent8c3f4d74b07441a38aa4f9cf4017257f2d82830b (diff)
downloadFreeBSD-src-c41681030d9e387e51f7aff15b2d4a0f259954e0.zip
FreeBSD-src-c41681030d9e387e51f7aff15b2d4a0f259954e0.tar.gz
Backout remaining changes that make most AD1981B users unhappy.
The exact situation is understood, and proper solution will follow sooner.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sound/pcm/ac97.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/ac97.c b/sys/dev/sound/pcm/ac97.c
index 5eb8030..9b3380b 100644
--- a/sys/dev/sound/pcm/ac97.c
+++ b/sys/dev/sound/pcm/ac97.c
@@ -857,6 +857,7 @@ ac97mix_init(struct snd_mixer *m)
switch (codec->id) {
case 0x41445374: /* AD1981B */
+#if 0
mask = 0;
if (codec->mix[SOUND_MIXER_OGAIN].enable)
mask |= SOUND_MASK_OGAIN;
@@ -869,6 +870,7 @@ ac97mix_init(struct snd_mixer *m)
mix_setparentchild(m, SOUND_MIXER_VOLUME, mask);
mix_setrealdev(m, SOUND_MIXER_VOLUME, SOUND_MIXER_NONE);
}
+#endif
break;
case 0x434d4941: /* CMI9738 */
case 0x434d4961: /* CMI9739 */
OpenPOWER on IntegriCloud