Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Revive VIA8233_RP_DXS_[LR]VOL in auvia_trigger_*().



details:   https://anonhg.NetBSD.org/src/rev/694a4371f592
branches:  trunk
changeset: 537893:694a4371f592
user:      kent <kent%NetBSD.org@localhost>
date:      Mon Oct 07 16:28:24 2002 +0000

description:
Revive VIA8233_RP_DXS_[LR]VOL in auvia_trigger_*().

diffstat:

 sys/dev/pci/auvia.c |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 5e76369beb62 -r 694a4371f592 sys/dev/pci/auvia.c
--- a/sys/dev/pci/auvia.c       Mon Oct 07 15:05:58 2002 +0000
+++ b/sys/dev/pci/auvia.c       Mon Oct 07 16:28:24 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auvia.c,v 1.24 2002/10/06 23:14:25 kent Exp $  */
+/*     $NetBSD: auvia.c,v 1.25 2002/10/07 16:28:24 kent Exp $  */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: auvia.c,v 1.24 2002/10/06 23:14:25 kent Exp $");
+__KERNEL_RCSID(0, "$NetBSD: auvia.c,v 1.25 2002/10/07 16:28:24 kent Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -963,6 +963,10 @@
 
        if (sc->sc_flags & AUVIA_FLAGS_VT8233) {
                bus_space_write_1(sc->sc_iot, sc->sc_ioh,
+                       AUVIA_PLAY_BASE + VIA8233_RP_DXS_LVOL, 0);
+               bus_space_write_1(sc->sc_iot, sc->sc_ioh,
+                       AUVIA_PLAY_BASE + VIA8233_RP_DXS_RVOL, 0);
+               bus_space_write_1(sc->sc_iot, sc->sc_ioh,
                        AUVIA_PLAY_BASE + AUVIA_RP_CONTROL,
                        AUVIA_RPCTRL_START | AUVIA_RPCTRL_AUTOSTART |
                        AUVIA_RPCTRL_STOP  | AUVIA_RPCTRL_EOL | AUVIA_RPCTRL_FLAG);
@@ -1006,6 +1010,10 @@
 
        if (sc->sc_flags & AUVIA_FLAGS_VT8233) {
                bus_space_write_1(sc->sc_iot, sc->sc_ioh,
+                       AUVIA_RECORD_BASE + VIA8233_RP_DXS_LVOL, 0);
+               bus_space_write_1(sc->sc_iot, sc->sc_ioh,
+                       AUVIA_RECORD_BASE + VIA8233_RP_DXS_RVOL, 0);
+               bus_space_write_1(sc->sc_iot, sc->sc_ioh,
                        AUVIA_RECORD_BASE + AUVIA_RP_CONTROL,
                        AUVIA_RPCTRL_START | AUVIA_RPCTRL_AUTOSTART |
                        AUVIA_RPCTRL_STOP  | AUVIA_RPCTRL_EOL | AUVIA_RPCTRL_FLAG);



Home | Main Index | Thread Index | Old Index