Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Oops, I messed up the last commit, try again.



details:   https://anonhg.NetBSD.org/src/rev/8966c4b09bce
branches:  trunk
changeset: 522263:8966c4b09bce
user:      augustss <augustss%NetBSD.org@localhost>
date:      Thu Feb 14 12:52:01 2002 +0000

description:
Oops, I messed up the last commit, try again.

diffstat:

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

diffs (29 lines):

diff -r 0b21e9a68982 -r 8966c4b09bce sys/dev/pci/auich.c
--- a/sys/dev/pci/auich.c       Thu Feb 14 11:59:26 2002 +0000
+++ b/sys/dev/pci/auich.c       Thu Feb 14 12:52:01 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: auich.c,v 1.10 2002/02/14 03:22:36 augustss Exp $      */
+/*     $NetBSD: auich.c,v 1.11 2002/02/14 12:52:01 augustss Exp $      */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: auich.c,v 1.10 2002/02/14 03:22:36 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: auich.c,v 1.11 2002/02/14 12:52:01 augustss Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -666,10 +666,6 @@
                auich_read_codec(sc, AC97_REG_POWER, &val);
                auich_write_codec(sc, AC97_REG_POWER, val | inout);
 
-               auich_write_codec(sc, AC97_REG_PCM_FRONT_DAC_RATE,
-                   sc->sc_fixed_rate ? sc->sc_fixed_rate : p->sample_rate);
-               auich_read_codec(sc, AC97_REG_PCM_FRONT_DAC_RATE, &rate);
-               p->sample_rate = rate;
                if (sc->sc_fixed_rate) {
                        p->sample_rate = sc->sc_fixed_rate;
                } else {



Home | Main Index | Thread Index | Old Index