From owner-acpi-jp@jp.FreeBSD.org Fri Dec 28 18:46:30 2001
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id fBS9kUm50050;
	Fri, 28 Dec 2001 18:46:30 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from shidahara1.planet.sci.kobe-u.ac.jp (shidahara1.planet.sci.kobe-u.ac.jp [133.30.68.253])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id fBS9kTm50045
	for <acpi-jp@jp.FreeBSD.org>; Fri, 28 Dec 2001 18:46:29 +0900 (JST)
	(envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp)
Received: from shidahara1.planet.sci.kobe-u.ac.jp (localhost [127.0.0.1])
	by shidahara1.planet.sci.kobe-u.ac.jp (8.9.3/8.9.3) with ESMTP id SAA18800
	for <acpi-jp@jp.FreeBSD.org>; Fri, 28 Dec 2001 18:43:44 +0900 (JST)
	(envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp)
Message-Id: <200112280943.SAA18800@shidahara1.planet.sci.kobe-u.ac.jp>
To: acpi-jp@jp.FreeBSD.org
In-reply-to: Your message of "Fri, 28 Dec 2001 01:26:22 MST."
             <20011228.012622.108756262.imp@village.org>
Date: Fri, 28 Dec 2001 18:43:44 +0900
From: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+011218
X-Sequence: acpi-jp 1553
Subject: [acpi-jp 1553] Re: Maybe a PCI Interrupt bug report, but want to know what to send
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: takawata@shidahara1.planet.sci.kobe-u.ac.jp

In message <20011228.012622.108756262.imp@village.org>, "M. Warner Losh" $B$5$s$$(B
$B$o$/(B:
>However, when I try to extend my patches to work with ACPI's pci
>interrupt routing pcib device, something is wrong.  It would appear
>that either we have a bad bug in ACPI that thinks all devices on the
>PCI bus have the same set of valid IRQs that can be routed to them, or
>this laptop's ACPI tells our ACPI this lie.  So my hacks to the
>acpi_pcib code to try to detect and compensate for the badly routed
>interrupts on the FIVA do not work at all.  According to debug printfs
>I've added, the valid IRQs are always 3 4 5 7 11.  The PIR table
>radically disagrees with this.

I'm working on ACPI pci bridge interrupt routing problem. 
I think interrupt routing information on pci-pci bridge defined by AML is 
not used in current FreeBSD code. To fix this, pci-pci bridge ACPI
device object should be recognized by system, I think. Now I wrote a code 
to bind device_t for device on PCI and ACPI_HANDLE. 
Then I'll touch pci bridge driver so that it can read pci routing 
table information.

$BEOJUB:5*(B
$B?@8MBg3XBg3X1!<+A32J3X8&5f2J(BD3$B>pJs%a%G%#%"2J3X@l96(B
<a href="http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html">
Public Key</a>
Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 
