Subject: Re: EC fix for ACPI CA 20030512 patch
To: None <msouth@msouth.org>
From: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
List: port-i386
Date: 05/27/2003 01:20:05
Hi,
From: Michael South <msouth@msouth.org>
Subject: EC fix for ACPI CA 20030512 patch
Date : Mon, 26 May 2003 08:14:07 -0700
Message-ID: <3ED22F3F.9080305@msouth.org>
$ I found the problem. They split off GPE from AcpiClearEvent() and
$ AcpiEnableEvent(). For EC devices you now have to call AcpiClearGpe()
$ and AcpiEnableGpe(). Patch below.
$
$ The kernel panicked with ACPI_DEBUG turned on. The debug output calls
$ AcpiOsGetThreadId() before threads are initialized, and there was an
$ assert checking that curlwp wasn't null. I just faked it and returned 1
$ in that case.
I think it is right.
My patch was not caught up with acpica-unix-20030328 for acpi ec dirver.
Thanks a lot for fixing it.
Best Regards
---
Masanori Kanaoka kanaoka@ann.hi-ho.ne.jp