From owner-acpi-jp@jp.FreeBSD.org Fri Mar 21 11:08:38 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id h2L28cb25023;
	Fri, 21 Mar 2003 11:08:38 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from sana.init-main.com (104.194.138.210.bn.2iij.net [210.138.194.104])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id h2L28b725018
	for <acpi-jp@jp.FreeBSD.org>; Fri, 21 Mar 2003 11:08:38 +0900 (JST)
	(envelope-from takawata@init-main.com)
Received: from init-main.com (localhost [127.0.0.1])
	by sana.init-main.com (8.12.8/8.12.7) with ESMTP id h2L27SKG020546;
	Fri, 21 Mar 2003 11:07:29 +0900 (JST)
	(envelope-from takawata@init-main.com)
Message-Id: <200303210207.h2L27SKG020546@sana.init-main.com>
To: andrew.grover@intel.com
Cc: acpi-jp@jp.FreeBSD.org, current@freebsd.org
In-reply-to: Your message of "Thu, 20 Mar 2003 16:41:28 PST."
             <F760B14C9561B941B89469F59BA3A84725A211@orsmsx401.jf.intel.com>
From: Takanori Watanabe <takawata@init-main.com>
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Fri, 21 Mar 2003 11:07:28 +0900
X-Sequence: acpi-jp 2107
Subject: [acpi-jp 2107] Re: ACPI-CA import/new diff?
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: takawata@init-main.com
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030304

In message <F760B14C9561B941B89469F59BA3A84725A211@orsmsx401.jf.intel.com>, "Gr
over, Andrew" wrote:
>> From: Nate Lawson [mailto:nate@root.org] 
>> http://developer.intel.com/technology/iapc/acp>
>i/downloads/CHANGES.txt
>> 
>> I'll try to generate a diff soon at post it since I haven't heard from
>> iwasaki@

Iwasaki seems to be busy now.
>
>This is against the Linuxized version but you should be able to get the
>gist of it:
>
>--- 2421-pre4-acpi/drivers/acpi/events/evgpeblk.c.orig	Wed Mar  5
>17:00:15 2003
>+++ 2421-pre4-acpi/drivers/acpi/events/evgpeblk.c	Wed Mar  5
>17:01:30 2003
>@@ -131,7 +131,7 @@
> 	/* Ensure that we have a valid GPE number for this GPE block */
> 
> 	if ((gpe_number < gpe_block->block_base_number) ||
>-		(gpe_number >= (gpe_block->register_count * 8))) {
>+		(gpe_number - gpe_block->block_base_number >=
>(gpe_block->register_count * 8))) {
>

Thanks. I'll apply it.


BTW. I noticed that some definition for structure is added and
its naming collide to our OS-dependent module.
We has been avoided it by using non-linuxlized ACPI-CA that
has the naming rule of beggining with 'Acpi' not 'acpi_'.
Would you care about it next time?


