Subject: kern/30265: patch to support Intel 82801FB Audio Controller
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <geert.hendrickx@ua.ac.be>
List: netbsd-bugs
Date: 05/17/2005 19:50:01
>Number:         30265
>Category:       kern
>Synopsis:       patch to support Intel 82801FB Audio Controller
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue May 17 19:50:00 +0000 2005
>Originator:     Geert Hendrickx
>Release:        netbsd-2
>Organization:
>Environment:
NetBSD mantis 2.0_STABLE NetBSD 2.0_STABLE (MANTIS) #4: Tue May 17 21:07:37 CEST 2005  geert@mantis:/usr/src/sys/arch/i386/compile/MANTIS i386
>Description:
The Intel 82801FB soundcard is supported, but not recognized, by the auich(4) driver.  

> Intel product 0x266e (audio multimedia, revision 0x03) at pci0 dev 30 function 2 not configured
>How-To-Repeat:

>Fix:
Patch against the netbsd-2 branch, tested with 2.0 and 2-stable: 

--- src/sys/dev/pci/auich.c.orig        2005-05-17 16:54:21.000000000 +0200
+++ src/sys/dev/pci/auich.c     2005-05-17 16:54:02.000000000 +0200
@@ -344,6 +344,8 @@
            "i82801DB/DBM (ICH4/ICH4M) AC-97 Audio",    "ICH4" },
        { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801EB_AC,
            "i82801EB (ICH5) AC-97 Audio",   "ICH5" },
+       { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82801FB_AC,
+           "i82801FB (ICH6) AC-97 Audio",   "ICH6" },
        { PCI_VENDOR_SIS, PCI_PRODUCT_SIS_7012_AC,
            "SiS 7012 AC-97 Audio",             "SiS7012" },
        { PCI_VENDOR_NVIDIA, PCI_PRODUCT_NVIDIA_NFORCE_MCP_AC,
--- src/sys/dev/pci/pcidevs.h.orig      2005-05-17 16:54:31.000000000 +0200
+++ src/sys/dev/pci/pcidevs.h   2005-05-17 16:51:03.000000000 +0200
@@ -1631,6 +1631,7 @@
 #define        PCI_PRODUCT_INTEL_82840_PCI     0x1a24          /* 82840 PCI */
 #define        PCI_PRODUCT_INTEL_82845_HB      0x1a30          /* 82845 Host */
 #define        PCI_PRODUCT_INTEL_82845_AGP     0x1a31          /* 82845 AGP */
+#define PCI_PRODUCT_INTEL_82801FB_AC   0x266e          /* 82891FB AC-97 Audio Controller */
 #define        PCI_PRODUCT_INTEL_82801AA_LPC   0x2410          /* 82801AA LPC Interface Bridge */
 #define        PCI_PRODUCT_INTEL_82801AA_IDE   0x2411          /* 82801AA IDE Controller */
 #define        PCI_PRODUCT_INTEL_82801AA_USB   0x2412          /* 82801AA USB Controller */