diff options
author | njl <njl@FreeBSD.org> | 2004-05-28 07:04:09 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-05-28 07:04:09 +0000 |
commit | 61d1e128a80566ea69193f0ae2c2ea5e68301c9d (patch) | |
tree | d559ed5835dc0c9c7e8169840b6c2a9ea1505b66 /sys/dev/acpica/acpivar.h | |
parent | 41bb6f98ab690ebf69ea3c6126c7dc11175d4f5e (diff) | |
download | FreeBSD-src-61d1e128a80566ea69193f0ae2c2ea5e68301c9d.zip FreeBSD-src-61d1e128a80566ea69193f0ae2c2ea5e68301c9d.tar.gz |
Update the new suspend/resume GPE methods to properly limit the GPE
based on the destination sleep state. Add a method to restore the old
state on resume. This is needed for the case of suspending to a very low
state disabling a GPE (i.e. S4), resuming, and then suspending to a higher
state (i.e. S3). This case should now keep the proper GPEs enabled.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r-- | sys/dev/acpica/acpivar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index 1be1ed8..6ed02e6 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -230,6 +230,7 @@ extern ACPI_STATUS acpi_SetSleepState(struct acpi_softc *sc, int state); int acpi_wake_init(device_t dev, int type); int acpi_wake_set_enable(device_t dev, int enable); int acpi_wake_sleep_prep(device_t dev, int sstate); +int acpi_wake_run_prep(device_t dev); extern ACPI_STATUS acpi_Startup(void); extern ACPI_STATUS acpi_Enable(struct acpi_softc *sc); extern ACPI_STATUS acpi_Disable(struct acpi_softc *sc); |