From owner-freebsd-current Thu Mar 20 18: 8:35 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12E1C37B401 for ; Thu, 20 Mar 2003 18:08:34 -0800 (PST) Received: from sana.init-main.com (104.194.138.210.bn.2iij.net [210.138.194.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1220543F93 for ; Thu, 20 Mar 2003 18:08:30 -0800 (PST) (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 Subject: Re: [acpi-jp 2106] RE: ACPI-CA import/new diff? In-reply-to: Your message of "Thu, 20 Mar 2003 16:41:28 PST." Date: Fri, 21 Mar 2003 11:07:28 +0900 From: Takanori Watanabe Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , "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? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message