summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/acpivar.h
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-05-06 08:04:34 +0000
committernjl <njl@FreeBSD.org>2004-05-06 08:04:34 +0000
commit6fd1561ea0b11f7e8b260ee3494c5ececbf9b341 (patch)
treefe6d6d0682be1a4eb88ac8feb810ce6134ffec45 /sys/dev/acpica/acpivar.h
parentb57e5e03fd70fac20a610e56ad7729e47f198a33 (diff)
downloadFreeBSD-src-6fd1561ea0b11f7e8b260ee3494c5ececbf9b341.zip
FreeBSD-src-6fd1561ea0b11f7e8b260ee3494c5ececbf9b341.tar.gz
Select the highest valid (i.e., S3) sleep state for the default for the
sleep button. Change the default for the lid switch to NONE. This can be overridden in /etc/sysctl.conf as desired.
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r--sys/dev/acpica/acpivar.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
index 0f21db5..4961935 100644
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -57,9 +57,6 @@ struct acpi_softc {
struct sysctl_ctx_list acpi_sysctl_ctx;
struct sysctl_oid *acpi_sysctl_tree;
-#define ACPI_POWER_BUTTON_DEFAULT_SX ACPI_STATE_S5;
-#define ACPI_SLEEP_BUTTON_DEFAULT_SX ACPI_STATE_S1;
-#define ACPI_LID_SWITCH_DEFAULT_SX ACPI_STATE_S1;
int acpi_power_button_sx;
int acpi_sleep_button_sx;
int acpi_lid_switch_sx;
OpenPOWER on IntegriCloud