From owner-acpi-jp@jp.FreeBSD.org Wed Oct  2 07:15:40 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g91MFeO88411;
	Wed, 2 Oct 2002 07:15:40 +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 g91MFc388406
	for <acpi-jp@jp.FreeBSD.org>; Wed, 2 Oct 2002 07:15:39 +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 g91MFYY79016
	for <acpi-jp@jp.FreeBSD.org>; Wed, 2 Oct 2002 07:15:35 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Message-Id: <20021002.071529.99015759.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.FreeBSD.org
From: Mitsuru IWASAKI <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 07:15:29 +0900
X-Sequence: acpi-jp 1860
Subject: [acpi-jp 1860] 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

Hi,
I borrow a new server.  This machine has some problems with probing
Host PCI bridge under FreeBSD (no problems under Windows, Linux).

This machine has three Host-PCI bridges, but only first one can be
found in legacy way.
With acpi enabled, all bridges can be found, but only first one
is attached because of wrong _BBN definition.

ASL at:
http://www.jp.freebsd.org/cgi/cvsweb.cgi/ACPI/data/I-Server1816.asl?cvsroot=freebsd-jp

You could find that all _BBN defined as 0, while _BBN should be unique.
I'm sure that this is ACPI BIOS bug and I'll report this to BIOS vendor
if I get chance.  Currently I fixed and override DSDT locally.

Well, my questions;
1. Is it possible to attach Host PCI bridges bus even all _BBN 0 case?
   Maybe bus number need to be adjusted if it duplicated, but I think
   still problems in AcpiEvPciConfigRegionSetup() of ACPI CA.
2. In legacy way, is it possible to detect all Host PCI bridges?
   Linux can do this so I believe that FreeBSD also can :)

Comments?
