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/pci pullup rev. 1.5 (approved by thorpej):
details: https://anonhg.NetBSD.org/src/rev/823dcf56ff36
branches: netbsd-1-5
changeset: 489343:823dcf56ff36
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Sep 01 08:35:48 2000 +0000
description:
pullup rev. 1.5 (approved by thorpej):
rev. H apparently doesn't set AC97_CODEC_DOES_VRA bit but works ok with
this driver, so only require the bit set for revisions < H
diffstat:
sys/dev/pci/auvia.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 6d14418a6055 -r 823dcf56ff36 sys/dev/pci/auvia.c
--- a/sys/dev/pci/auvia.c Fri Sep 01 06:26:55 2000 +0000
+++ b/sys/dev/pci/auvia.c Fri Sep 01 08:35:48 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: auvia.c,v 1.3.4.1 2000/06/30 16:27:49 simonb Exp $ */
+/* $NetBSD: auvia.c,v 1.3.4.2 2000/09/01 08:35:48 jdolecek Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -286,8 +286,13 @@
return;
}
+ /*
+ * Driver works as okay on my VIA 694D Pro with auvia rev. H, even
+ * through the bit won't get set. Earlier models probably need
+ * the test as it is.
+ */
if (auvia_read_codec(sc, AC97_REG_EXT_AUDIO_ID, &v)
- || !(v & AC97_CODEC_DOES_VRA)) {
+ || (sc->sc_revision[0] < 'H' && !(v & AC97_CODEC_DOES_VRA))) {
/* XXX */
printf("%s: codec must support AC'97 2.0 Variable Rate Audio\n",
Home |
Main Index |
Thread Index |
Old Index