Subject: Re: kern/33326: azalia driver is broken in 3.0_STABLE
To: None <kent@netbsd.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: TAMURA Kent <kent@NetBSD.org>
List: netbsd-bugs
Date: 05/10/2006 10:17:40
The following reply was made to PR kern/33326; it has been noted by GNATS.

From: TAMURA Kent <kent@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/33326: azalia driver is broken in 3.0_STABLE
Date: Tue,  9 May 2006 11:23:24 +0900 (JST)

 Thanks.  Would you test the following patch?
 
 Index: azalia_codec.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/pci/azalia_codec.c,v
 retrieving revision 1.7
 diff -u -r1.7 azalia_codec.c
 --- azalia_codec.c      16 Jan 2006 14:28:38 -0000      1.7
 +++ azalia_codec.c      9 May 2006 02:21:37 -0000
 @@ -344,11 +344,10 @@
         this->dacgroups[0] = dacs[0];
         this->dacgroups[1] = dacs[1];
 
 -       this->nadcs = 4;
 -       this->adcs[0] = 0x07;
 -       this->adcs[1] = 0x08;
 -       this->adcs[2] = 0x09;
 -       this->adcs[3] = 0x0a;   /* digital */
 +       this->nadcs = 3;
 +       this->adcs[0] = 0x08;
 +       this->adcs[1] = 0x09;
 +       this->adcs[2] = 0x0a;   /* digital */
         return 0;
  }
 
 -- 
 TAMURA Kent <kent_2006 at hauN.org> <kent at NetBSD.org>