[Fwd: cvs commit: src/sys/contrib/dev/acpica dsutils.c]
Federico Galvez-Durand
federicogalvezdurand at yahoo.com
Thu Jan 13 08:01:33 PST 2005
Thanks Nate, Toshiba 2805-s301 is back to ACPI now.
http://www.del.ufrj.br/~fico/FreeBSD/debug/dmesg20050113
Fico
Nate Lawson nate at root.org Tue Jan 11 16:56:39 PST
2005 :
* Previous message: 5.3-RELEASE: SMP: system clock
has died
* Next message: Intel SHG2 and ACPI problems.
* Messages sorted by: [ date ] [ thread ] [
subject ] [ author ]
This fix should be tested by anyone with _STA errors
("no return
object"). I'll MFC in a day or two given no major
issues.
-------- Original Message --------
Subject: cvs commit: src/sys/contrib/dev/acpica
dsutils.c
Date: Wed, 12 Jan 2005 00:52:49 +0000 (GMT)
From: Nate Lawson <njl at FreeBSD.org>
To: njl at FreeBSD.ORG
njl 2005-01-12 00:52:40 UTC
FreeBSD src repository
Modified files: (Branch: INTEL)
sys/contrib/dev/acpica dsutils.c
Log:
Fix handling of the implicit return case for
methods called from an
external source (i.e., _STA). The previous case
only handled calls
occurring within AML. This should fix Toshibas,
among others. Thanks
to Robert Moore of Intel for the fix.
MFC after: 2 days
Revision Changes Path
1.1.1.23 +2 -1
src/sys/contrib/dev/acpica/dsutils.c
Index: src/sys/contrib/dev/acpica/dsutils.c
diff -u src/sys/contrib/dev/acpica/dsutils.c:1.1.1.22
src/sys/contrib/dev/acpica/dsutils.c:1.1.1.23
--- src/sys/contrib/dev/acpica/dsutils.c:1.1.1.22 Wed
Dec 1 23:13:41 2004
+++ src/sys/contrib/dev/acpica/dsutils.c Wed Jan 12
00:52:40 2005
@@ -167,7 +167,8 @@
* An executing method typically has no parent,
since each method
* is parsed separately.
*/
- if (!Op->Common.Parent)
+ if (!Op->Common.Parent ||
+ Op->Common.Parent->Common.AmlOpcode ==
AML_SCOPE_OP)
{
/*
* If this is the last statement in the
method, we know it is
not a
--
Nate
* Previous message: 5.3-RELEASE: SMP: system clock
has died
* Next message: Intel SHG2 and ACPI problems.
* Messages sorted by: [ date ] [ thread ] [
subject ] [ author ]
More information about the freebsd-acpi mailing list
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
More information about the freebsd-acpi
mailing list