Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/ic Pull down revision 1.19 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/227d2ed5da3d
branches:  netbsd-1-5
changeset: 491620:227d2ed5da3d
user:      he <he%NetBSD.org@localhost>
date:      Thu May 03 21:13:05 2001 +0000

description:
Pull down revision 1.19 (requested by he):
  Previous pull-up was a bit too aggressive, causing a compile
  problem.  Sorry.

diffstat:

 sys/dev/ic/ac97.c |  13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diffs (37 lines):

diff -r a83581db5af1 -r 227d2ed5da3d sys/dev/ic/ac97.c
--- a/sys/dev/ic/ac97.c Thu May 03 21:03:47 2001 +0000
+++ b/sys/dev/ic/ac97.c Thu May 03 21:13:05 2001 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: ac97.c,v 1.11.2.2 2001/05/03 20:59:27 he Exp $ */
+/*      $NetBSD: ac97.c,v 1.11.2.3 2001/05/03 21:13:05 he Exp $ */
 /*     $OpenBSD: ac97.c,v 1.8 2000/07/19 09:01:35 csapuntz Exp $       */
 
 /*
@@ -101,14 +101,10 @@
                                                 { { AudioNmixerout AudioNmono }, 6 },
                                                 { { "phone" }, 7 }}};
 
-/*
- * Due to different values for each source that uses these structures, 
- * the ac97_query_devinfo function sets delta in mixer_devinfo_t using
- * ac97_source_info.bits.
- */
 static const struct audio_mixer_value ac97_volume_stereo = { { AudioNvolume }, 
                                                       2 };
 
+
 static const struct audio_mixer_value ac97_volume_mono = { { AudioNvolume }, 
                                                     1 };
 
@@ -680,11 +676,6 @@
                        strcpy(dip->label.name, name);
 
                bcopy(si->info, &dip->un, si->info_size);
-
-               /* Set the delta for volume sources */
-               if (dip->type == AUDIO_MIXER_VALUE)
-                       dip->un.v.delta = 1 << (8 - si->bits);
-
                return (0);
        }
 



Home | Main Index | Thread Index | Old Index