diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2002-07-22 12:52:54 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2002-07-22 12:52:54 +0000 |
commit | 39615709135ccb3ccbc54ac2a0a1540692d913cd (patch) | |
tree | b7be83e0557f6498766c14cd562d2172d12e3f8f /sys/dev/acpica/acpivar.h | |
parent | fcb9022bbd197d29db9969eb8ddad8754296f8d0 (diff) | |
download | FreeBSD-src-39615709135ccb3ccbc54ac2a0a1540692d913cd.zip FreeBSD-src-39615709135ccb3ccbc54ac2a0a1540692d913cd.tar.gz |
Add device(power/sleep button and lid) wake function from sleeping state.
This is required for some Thinkpad (and maybe VAIO) machines to wake
the system up from sleep.
Currently partially implemented, more complete implementation will come later.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r-- | sys/dev/acpica/acpivar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index 579696d..88c462e 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -334,6 +334,9 @@ extern char *acpi_name(ACPI_HANDLE handle); extern int acpi_avoid(ACPI_HANDLE handle); extern int acpi_disabled(char *subsys); +extern void acpi_device_enable_wake_capability(ACPI_HANDLE h, int enable); +extern void acpi_device_enable_wake_event(ACPI_HANDLE h); + extern int acpi_machdep_init(device_t dev); extern void acpi_install_wakeup_handler(struct acpi_softc *sc); extern int acpi_sleep_machdep(struct acpi_softc *sc, int state); |