summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/nsxfeval.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/nsxfeval.c')
-rw-r--r--sys/contrib/dev/acpica/nsxfeval.c23
1 files changed, 14 insertions, 9 deletions
diff --git a/sys/contrib/dev/acpica/nsxfeval.c b/sys/contrib/dev/acpica/nsxfeval.c
index 1349eda..1926011 100644
--- a/sys/contrib/dev/acpica/nsxfeval.c
+++ b/sys/contrib/dev/acpica/nsxfeval.c
@@ -2,7 +2,7 @@
*
* Module Name: nsxfeval - Public interfaces to the ACPI subsystem
* ACPI Object evaluation interfaces
- * $Revision: 2 $
+ * $Revision: 4 $
*
******************************************************************************/
@@ -494,8 +494,8 @@ AcpiWalkNamespace (
/* Parameter validation */
- if ((Type > ACPI_TYPE_MAX) ||
- (!MaxDepth) ||
+ if ((Type > ACPI_TYPE_EXTERNAL_MAX) ||
+ (!MaxDepth) ||
(!UserFunction))
{
return_ACPI_STATUS (AE_BAD_PARAMETER);
@@ -707,11 +707,13 @@ AcpiGetDevices (
*
* FUNCTION: AcpiAttachData
*
- * PARAMETERS:
+ * PARAMETERS: ObjHandle - Namespace node
+ * Handler - Handler for this attachment
+ * Data - Pointer to data to be attached
*
* RETURN: Status
*
- * DESCRIPTION:
+ * DESCRIPTION: Attach arbitrary data and handler to a namespace node.
*
******************************************************************************/
@@ -761,11 +763,12 @@ UnlockAndExit:
*
* FUNCTION: AcpiDetachData
*
- * PARAMETERS:
+ * PARAMETERS: ObjHandle - Namespace node handle
+ * Handler - Handler used in call to AcpiAttachData
*
* RETURN: Status
*
- * DESCRIPTION:
+ * DESCRIPTION: Remove data that was previously attached to a node.
*
******************************************************************************/
@@ -813,11 +816,13 @@ UnlockAndExit:
*
* FUNCTION: AcpiGetData
*
- * PARAMETERS:
+ * PARAMETERS: ObjHandle - Namespace node
+ * Handler - Handler used in call to AttachData
+ * Data - Where the data is returned
*
* RETURN: Status
*
- * DESCRIPTION:
+ * DESCRIPTION: Retrieve data that was previously attached to a namespace node.
*
******************************************************************************/
OpenPOWER on IntegriCloud