From owner-acpi-jp@jp.freebsd.org  Sat Sep 30 00:48:01 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id AAA45527;
	Sat, 30 Sep 2000 00:48:01 +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.50.200])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id AAA45519;
	Sat, 30 Sep 2000 00:48:00 +0900 (JST)
	(envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp)
From: takawata@shidahara1.planet.sci.kobe-u.ac.jp
Received: from libr.scitec.kobe-u.ac.jp (skai0829.ppp.infoweb.ne.jp [202.248.14.237])
	by shidahara1.planet.sci.kobe-u.ac.jp (8.9.3/8.9.3) with ESMTP id AAA39537;
	Sat, 30 Sep 2000 00:45:55 +0900 (JST)
	(envelope-from takawata@shidahara1.planet.sci.kobe-u.ac.jp)
Received: from shidahara1.planet.kobe-u.ac.jp (localhost [127.0.0.1]) by libr.scitec.kobe-u.ac.jp (8.9.1/3.5Wpl7) with ESMTP id AAA20648; Sat, 30 Sep 2000 00:38:35 +0900 (JST)
Message-Id: <200009291538.AAA20648@libr.scitec.kobe-u.ac.jp>
To: Mitsuru IWASAKI <iwasaki@jp.freebsd.org>, msmith@freebsd.org
Cc: acpi-jp@jp.freebsd.org, current@freebsd.org
In-reply-to: Your message of "Sat, 30 Sep 2000 00:04:50 JST."
             <20000930000450D.iwasaki@jp.FreeBSD.org> 
Date: Sat, 30 Sep 2000 00:38:34 +0900
Reply-To: acpi-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: acpi-jp 696
Subject: [acpi-jp 696] Re: ACPI megapatch 
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 <20000930000450D.iwasaki@jp.FreeBSD.org>, Mitsuru IWASAKI wrote:
>> In summary, my suggestions are
>>  - i386/i386/acpi_machdep.c
>> 	acpi_find_rsdp() and acpi_mapmem()
>>  - dev/acpi/acpi.c
>> 	acpi_identify() and acpi_find_facp()
>
>Here is a patch for your megapatch at
>http://people.FreeBSD.org/~iwasaki/acpi/patch-for-megapatch.diff
>I'll be happy if you accept and commit this :-)
>

I think it is better bus attachment code is in MD part than in MI part.
And MD bus attachment code calls MI bus attachment code.

For example,Current acpi_probe code rename to acpi_probesubr and
 call it from acpi_probe in acpi_machdep.c . 

And probe method and identify method should not be confused.
Memory area check etc.... can be in MD acpi probe code.

Takanori Watanabe
<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 
