From owner-acpi-jp@jp.FreeBSD.org Fri Mar 22 01:54:29 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g2LGsT109436;
	Fri, 22 Mar 2002 01:54:29 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from mail13.speakeasy.net (mail13.speakeasy.net [216.254.0.213])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g2LGsSc09429
	for <acpi-jp@jp.FreeBSD.org>; Fri, 22 Mar 2002 01:54:28 +0900 (JST)
	(envelope-from jhb@FreeBSD.org)
Received: (qmail 13925 invoked from network); 21 Mar 2002 16:54:25 -0000
Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender <jhb@FreeBSD.org>)
          by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP
          for <haro@h4.dion.ne.jp>; 21 Mar 2002 16:54:25 -0000
Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1])
	by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g2LGsxv66592;
	Thu, 21 Mar 2002 11:54:59 -0500 (EST)
	(envelope-from jhb@FreeBSD.org)
Message-ID: <XFMail.20020321115426.jhb@FreeBSD.org>
X-Mailer: XFMail 1.5.2 on FreeBSD
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
In-Reply-To: <XFMail.20020321112805.jhb@FreeBSD.org>
Date: Thu, 21 Mar 2002 11:54:26 -0500 (EST)
From: John Baldwin <jhb@freebsd.org>
To: acpi-jp@jp.FreeBSD.org
Cc: Munehiro Matsuda <haro@h4.dion.ne.jp>
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020312
X-Sequence: acpi-jp 1600
Subject: [acpi-jp 1600] RE: Found a bug in acpi_pcib.c with change fo
Errors-To: owner-acpi-jp@jp.FreeBSD.org
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: jhb@FreeBSD.org


On 21-Mar-2002 John Baldwin wrote:
> 
> On 21-Mar-2002 Munehiro Matsuda wrote:
>> Hi All,
>> 
>> I'v found a bug in acpi_pcib.c, which occurred during the merge of
>> ACPI CA 20020217 snapshot.
>> The bug caused _PRS to be not checked, and my PC (Sony VAIO PCG-Z505V/BP)
>> failed to initialize PCI interrupts.
>> 
>> Here's dmesg after 20020217:
>>   acpi_pcib0: device has no interrupts
>>   uhci0: Could not allocate irq
>> 
>> and dmesg before 20020217 that works:
>>   acpi_pcib0: possible interrupts:  9
>>   acpi_pcib0: routed interrupt 9 via \\_SB_.LNKD
>>   usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
>>   usb0: USB revision 1.0
>> 
>> Following patch fixed my problem.
>> 
>> --- acpi_pcib.c.ctm   Sun Feb 24 00:03:20 2002
>> +++ acpi_pcib.c       Thu Mar 21 01:01:26 2002
>> @@ -411,7 +411,7 @@
>>       goto out;       /* this is fatal */
>>      }
>>      prsbuf.Length = ACPI_ALLOCATE_BUFFER;
>> -    if (ACPI_FAILURE(status = AcpiGetCurrentResources(lnkdev, &prsbuf))) {
>> +    if (ACPI_FAILURE(status = AcpiGetPossibleResources(lnkdev, &prsbuf))) {
>>       device_printf(sc->ap_dev, "couldn't get PCI interrupt link device _PRS
> data
>> - %s\n",
>>                     AcpiFormatException(status));
>>       /* this is not fatal, since it may be hardwired */
>> 
>> 
>> May be this is related to problem that John Baldwin is having?
> 
> I will try it, thanks!

Didn't help. :-/

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
