From owner-acpi-jp@jp.FreeBSD.org Wed Oct  2 21:25:19 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g92CPJe03136;
	Wed, 2 Oct 2002 21:25:19 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from tasogare.imasy.or.jp (root@tasogare.imasy.or.jp [202.227.24.5])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g92CPI303131
	for <acpi-jp@jp.FreeBSD.org>; Wed, 2 Oct 2002 21:25:18 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Received: from localhost (iwa@tasogare.imasy.or.jp [202.227.24.5])
	by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id g92CPFY75072;
	Wed, 2 Oct 2002 21:25:16 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Message-Id: <20021002.212510.69668888.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.FreeBSD.org, jhb@freebsd.org
From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
In-Reply-To: <20021002.112658.34590391.iwasaki@jp.FreeBSD.org>
References: <20021002.071529.99015759.iwasaki@jp.FreeBSD.org>
	<XFMail.20021001220337.jhb@FreeBSD.org>
	<20021002.112658.34590391.iwasaki@jp.FreeBSD.org>
X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Wed, 02 Oct 2002 21:25:10 +0900
X-Sequence: acpi-jp 1863
Subject: [acpi-jp 1863] Re: probing Host PCI bridge
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: iwasaki@jp.FreeBSD.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020902

> > Hmm.  Can you provide pciconf -l of this machine?  That together with
> > the ASL might be enough to determine if nexus_pcib can be fixed.
> 
> Ah, I think I understood now.
> # nexus_pcib_is_host_bridge() right?

I added two IDs, 0x00171166 and 0x01011166, in nexus_pcib_is_host_bridge()
then the rest of host PCI bridges were attached :-)

They seem to be unknown chipset and I'm still investigating device
names of them...
However I'll commit following patch first.

Thanks

Index: pci_bus.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/pci/pci_bus.c,v
retrieving revision 1.91
diff -u -r1.91 pci_bus.c
--- pci_bus.c	23 Sep 2002 18:14:31 -0000	1.91
+++ pci_bus.c	2 Oct 2002 12:10:38 -0000
@@ -272,6 +272,14 @@
 		*busnum = nexus_pcib_read_config(0, bus, slot, func, 0x44, 1);
 		break;
 
+		/* XXX unknown chipset, but working */
+	case 0x00171166:
+		/* FALLTHROUGH */
+	case 0x01011166:
+		s = "ServerWorks host to PCI bridge(unknown chipset)";
+		*busnum = nexus_pcib_read_config(0, bus, slot, func, 0x44, 1);
+		break;
+
 		/* Integrated Micro Solutions -- vendor 0x10e0 */
 	case 0x884910e0:
 		s = "Integrated Micro Solutions VL Bridge";
