Subject: Re: kern/28682: bktr(4): add support for MSP3435G-B6 audio chip
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Scott Presnell <srp@tworoads.net>
List: netbsd-bugs
Date: 11/30/2005 20:46:02
The following reply was made to PR kern/28682; it has been noted by GNATS.

From: Scott Presnell <srp@tworoads.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/28682: bktr(4): add support for MSP3435G-B6 audio chip
Date: Wed, 30 Nov 2005 12:40:37 -0800

 Included find the same patch for NetBSD 3.0
 This patch was also submitted to the sourcefourge bktr project.
 
 --- src/sys/dev/pci/bktr/bktr_audio.c.orig      2005-11-30 12:19:55.000000000 -0800
 +++ src/sys/dev/pci/bktr/bktr_audio.c   2005-11-28 19:01:44.000000000 -0800
 @@ -484,7 +484,8 @@
    int stereo;
  
    /* MSP3430G - countries with mono and DBX stereo */
 -  if (strncmp("3430G", bktr->msp_version_string, 5) == 0) {
 +  if (strncmp("3430G", bktr->msp_version_string, 5) == 0 || 
 +      strncmp("3435G", bktr->msp_version_string, 5) == 0){
  
      msp_dpl_write(bktr, bktr->msp_addr, 0x10, 0x0030,0x2003);/* Enable Auto format detection */
      msp_dpl_write(bktr, bktr->msp_addr, 0x10, 0x0020,0x0020);/* Standard Select Reg. = BTSC-Stereo*/