diff options
author | jkim <jkim@FreeBSD.org> | 2013-06-27 00:16:54 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-06-27 00:16:54 +0000 |
commit | faabc5353932108c96a32e7422578294fe30ab63 (patch) | |
tree | e9a0e51088d3c1e15addea9cd33b6f472b9a6b53 /sys/contrib/dev/acpica/components/utilities/uteval.c | |
parent | c15f698fb461ff5e7a9135b74eede196265fc6ca (diff) | |
download | FreeBSD-src-faabc5353932108c96a32e7422578294fe30ab63.zip FreeBSD-src-faabc5353932108c96a32e7422578294fe30ab63.tar.gz |
Merge ACPICA 20130626.
Diffstat (limited to 'sys/contrib/dev/acpica/components/utilities/uteval.c')
-rw-r--r-- | sys/contrib/dev/acpica/components/utilities/uteval.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/components/utilities/uteval.c b/sys/contrib/dev/acpica/components/utilities/uteval.c index d19210f..ba4d6ee 100644 --- a/sys/contrib/dev/acpica/components/utilities/uteval.c +++ b/sys/contrib/dev/acpica/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))); |