diff options
author | msmith <msmith@FreeBSD.org> | 2001-01-31 09:30:57 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-01-31 09:30:57 +0000 |
commit | 30a81dd2b20ee1330959af3ebd4f3d887e9ef7ef (patch) | |
tree | 55e22fabd089c50a01caab740b38e45ab4bba423 /sys/dev/acpica/acpivar.h | |
parent | cae1d97ec5ea6cc7dc2af0ab52e477ca4022a3b5 (diff) | |
download | FreeBSD-src-30a81dd2b20ee1330959af3ebd4f3d887e9ef7ef.zip FreeBSD-src-30a81dd2b20ee1330959af3ebd4f3d887e9ef7ef.tar.gz |
ACPI_NUMBER becomes ACPI_INTEGER. acpi_EvaluateNumber becomes
acpi_EvaluateInteger.
Use acpi_EvaluateInteger instead of doing things the hard way where
possible.
AcpiSetSystemSleepState (unofficial) becomes AcpiEnterSleepState.
Use the AcpiGbl_FADT pointer rather than searching for the FADT.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r-- | sys/dev/acpica/acpivar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index 1b27e83..6bc6cbe 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -163,7 +163,7 @@ extern ACPI_STATUS acpi_SetSleepState(struct acpi_softc *sc, int state); extern ACPI_STATUS acpi_Enable(struct acpi_softc *sc); extern ACPI_STATUS acpi_Disable(struct acpi_softc *sc); extern BOOLEAN acpi_DeviceIsPresent(device_t dev); -extern ACPI_STATUS acpi_EvaluateNumber(ACPI_HANDLE handle, char *path, int *number); +extern ACPI_STATUS acpi_EvaluateInteger(ACPI_HANDLE handle, char *path, int *number); struct acpi_parse_resource_set { void (* set_init)(device_t dev, void **context); |