Subject: kern/18348: Interrupt fixup for ICH4 chipset
To: None <gnats-bugs@gnats.netbsd.org>
From: None <andreas@planix.com>
List: netbsd-bugs
Date: 09/20/2002 09:14:17
>Number:         18348
>Category:       kern
>Synopsis:       Interrupt fixup for ICH4 chipset
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 20 06:15:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Wrede <andreas@planix.com>
>Release:        NetBSD 1.6H
>Organization:
Planix, Inc.
>Environment:
	
	
System: NetBSD woffi.planix.com 1.6H NetBSD 1.6H (PLANIX) #3: Fri Sep 20 08:44:58 EDT 2002 root@woffi.planix.com:/m5/netbsd-current/src/sys/arch/i386/compile/WOFFI i386
Architecture: i386
Machine: i386
>Description:
	
After installing a D-Link DWL-500 (which is a Ricoh 5C475 PCI-CardBus PCI 
card with a D-Link DWL-650 802.11b PC-Card) and building a kernel with 
PCIBIOS_INTR_FIXUP enablebd, I get the messges:
pci_intr_fixup: no compatible PCI ICU found: ICU vendor 0x8086 product 0x24c0
Warning: unable to fix up PCI interrupt routing
Looking at sys/arch/i386/pci/pci_intr_fixup.c I see that an entry for the
Intel 82801DB LPC is missing. 
>How-To-Repeat:
	
Install a D-Link DWL-500 in a ICH4 chipset machine, build kernel with 
PCIBIOS_INTR_FIXUP enabled.
>Fix:
	
Apply patch:

Index: pci_intr_fixup.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/i386/pci/pci_intr_fixup.c,v
retrieving revision 1.20
diff -c -u -r1.20 pci_intr_fixup.c
--- pci_intr_fixup.c	2002/06/01 23:50:55	1.20
+++ pci_intr_fixup.c	2002/09/20 12:59:44
@@ -141,6 +141,8 @@
 	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82801BA_LPC,
 	  piix_init },
 	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82801BAM_LPC,
+	  piix_init },
+	{ PCI_VENDOR_INTEL,	PCI_PRODUCT_INTEL_82801DB_LPC,
 	  piix_init },
 
 	{ PCI_VENDOR_OPTI,	PCI_PRODUCT_OPTI_82C558,
>Release-Note:
>Audit-Trail:
>Unformatted: