summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/bktr/bktr_audio.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/sys/dev/pci/bktr/bktr_audio.c b/sys/dev/pci/bktr/bktr_audio.c
index 385433a3463..cbf45399157 100644
--- a/sys/dev/pci/bktr/bktr_audio.c
+++ b/sys/dev/pci/bktr/bktr_audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_audio.c,v 1.9 2007/06/11 08:10:22 robert Exp $ */
+/* $OpenBSD: bktr_audio.c,v 1.10 2008/09/25 19:09:16 chl Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_audio.c,v 1.8 2000/10/31 13:09:56 roger Exp $ */
/*
* This is part of the Driver for Video Capture Cards (Frame grabbers)
@@ -112,14 +112,8 @@ set_audio( bktr_ptr_t bktr, int cmd )
switch (cmd) {
case AUDIO_TUNER:
-#ifdef BKTR_REVERSEMUTE
- bktr->audio_mux_select = 3;
-#else
- bktr->audio_mux_select = 0;
-#endif
-
if (bktr->reverse_mute )
- bktr->audio_mux_select = 0;
+ bktr->audio_mux_select = 0;
else
bktr->audio_mux_select = 3;
@@ -163,17 +157,10 @@ set_audio( bktr_ptr_t bktr, int cmd )
*/
if ( bktr->audio_mute_state == TRUE ) {
-#ifdef BKTR_REVERSEMUTE
- idx = 0;
-#else
- idx = 3;
-#endif
-
if (bktr->reverse_mute )
idx = 3;
else
idx = 0;
-
}
else
idx = bktr->audio_mux_select;