From owner-acpi-jp@jp.FreeBSD.org Wed Oct 30 16:23:08 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g9U7N8J01919;
	Wed, 30 Oct 2002 16:23:08 +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 g9U7N8301914
	for <acpi-jp@jp.FreeBSD.org>; Wed, 30 Oct 2002 16:23:08 +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 g9U7N4Y89931;
	Wed, 30 Oct 2002 16:23:04 +0900 (JST)
	(envelope-from iwasaki@jp.FreeBSD.org)
Message-Id: <20021030.162300.58168333.iwasaki@jp.FreeBSD.org>
To: acpi-jp@jp.FreeBSD.org, msmith@freebsd.org
Cc: naoki@fukaumi.org
From: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
In-Reply-To: <70980700-EBD6-11D6-AB62-0050E4660701@freebsd.org>
References: <20021030.032129.85389956.iwasaki@jp.FreeBSD.org>
	<70980700-EBD6-11D6-AB62-0050E4660701@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, 30 Oct 2002 16:23:00 +0900
X-Sequence: acpi-jp 1921
Subject: [acpi-jp 1921] Re: iiyama NT310S (1/2)
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+021028

> The bug in this case is that you assume that bit 2 of the _STA result  
> will
> be set for a link device that's not yet configured (lines 464-469).   
> You should
> mask the status with 0x9 and test for 0x9 (see acpi_pcib.c line 195) to  
> detect
> a present and functioning link device - if it has not been configured,  
> it will
> not be decoding resources and bit 2 may legally not be set.

I'm not sure whether it's a bug, but my thought is similar to this for
this problem.  Therefore, I posted the paches in [acpi-jp 1916] :-)

Thanks
