Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/hdaudio Switch on input monitor support.



details:   https://anonhg.NetBSD.org/src/rev/34a34a3ce74b
branches:  trunk
changeset: 747306:34a34a3ce74b
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Sep 09 01:39:51 2009 +0000

description:
Switch on input monitor support.

diffstat:

 sys/dev/pci/hdaudio/hdaudio_afg.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r f2996ce6dd2c -r 34a34a3ce74b sys/dev/pci/hdaudio/hdaudio_afg.c
--- a/sys/dev/pci/hdaudio/hdaudio_afg.c Tue Sep 08 22:16:56 2009 +0000
+++ b/sys/dev/pci/hdaudio/hdaudio_afg.c Wed Sep 09 01:39:51 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hdaudio_afg.c,v 1.8 2009/09/08 18:33:24 drochner Exp $ */
+/* $NetBSD: hdaudio_afg.c,v 1.9 2009/09/09 01:39:51 jmcneill Exp $ */
 
 /*
  * Copyright (c) 2009 Precedence Technologies Ltd <support%precedence.co.uk@localhost>
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hdaudio_afg.c,v 1.8 2009/09/08 18:33:24 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdaudio_afg.c,v 1.9 2009/09/09 01:39:51 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -1479,13 +1479,10 @@
 static void
 hdaudio_afg_assoc_trace_misc(struct hdaudio_afg_softc *sc)
 {
-#if notyet
        struct hdaudio_assoc *as = sc->sc_assocs;
-#endif
        struct hdaudio_widget *w;
        int j;
 
-#if notyet
        /* Input monitor */
        /*
         * Find mixer associated with input, but supplying signal
@@ -1505,7 +1502,6 @@
                        w->w_audiodev = HDAUDIO_MIXER_IMIX;
                }
        }
-#endif
 
        /* Beeper */
        for (j = sc->sc_startnode; j < sc->sc_endnode; j++) {



Home | Main Index | Thread Index | Old Index