summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/nsxfeval.c
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>2002-11-27 18:07:48 +0000
committeriwasaki <iwasaki@FreeBSD.org>2002-11-27 18:07:48 +0000
commit2b17a8d498a3e4598c19121ab1fad3e7ced2c699 (patch)
tree89c585f017c40c50fe733a43a36a8a10779f75f5 /sys/contrib/dev/acpica/nsxfeval.c
parent3b2a4f1cbea5e9139e6d4710e31efedef37247ac (diff)
downloadFreeBSD-src-2b17a8d498a3e4598c19121ab1fad3e7ced2c699.zip
FreeBSD-src-2b17a8d498a3e4598c19121ab1fad3e7ced2c699.tar.gz
Vendor import of the Intel ACPI CA 20021118 drop.
Approved by: re
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