diff options
author | jkim <jkim@FreeBSD.org> | 2013-06-26 19:01:10 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-06-26 19:01:10 +0000 |
commit | 7aca7201724cb02a2a0541bd3ad2c0aca23dd076 (patch) | |
tree | 274ff6113dbdc6cbbbf50dc30d0527fb9cb0fc55 /source/components/utilities/uteval.c | |
parent | af69f95bba3597db53a980597cfd371c9f6ee7cf (diff) | |
download | FreeBSD-src-7aca7201724cb02a2a0541bd3ad2c0aca23dd076.zip FreeBSD-src-7aca7201724cb02a2a0541bd3ad2c0aca23dd076.tar.gz |
Import ACPICA 20130626.
Diffstat (limited to 'source/components/utilities/uteval.c')
-rw-r--r-- | source/components/utilities/uteval.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/components/utilities/uteval.c b/source/components/utilities/uteval.c index e24f2a2..472bd30 100644 --- a/source/components/utilities/uteval.c +++ b/source/components/utilities/uteval.c @@ -260,7 +260,8 @@ AcpiUtEvaluateNumericObject ( * RETURN: Status * * DESCRIPTION: Executes _STA for selected device and stores results in - * *Flags. + * *Flags. If _STA does not exist, then the device is assumed + * to be present/functional/enabled (as per the ACPI spec). * * NOTE: Internal function, no parameter validation * @@ -284,6 +285,11 @@ AcpiUtExecute_STA ( { if (AE_NOT_FOUND == Status) { + /* + * if _STA does not exist, then (as per the ACPI specification), + * the returned flags will indicate that the device is present, + * functional, and enabled. + */ ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "_STA on %4.4s was not found, assuming device is present\n", AcpiUtGetNodeName (DeviceNode))); |