diff options
author | njl <njl@FreeBSD.org> | 2007-03-18 01:03:03 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2007-03-18 01:03:03 +0000 |
commit | a8ba35fb0023bb456954993d3c55712666b50d13 (patch) | |
tree | ea374fb710f339370e5ef446e4c61c73ffd4a4c6 | |
parent | 29d911985ba7497e528d908b71cfe7cde2e59515 (diff) | |
download | FreeBSD-src-a8ba35fb0023bb456954993d3c55712666b50d13.zip FreeBSD-src-a8ba35fb0023bb456954993d3c55712666b50d13.tar.gz |
Disable burst mode by default. Testing has shown that while it works on
most systems, it causes the EC not to respond for some Acer and Compaq/HP
laptops. This is the default value for Linux also. For systems that need
it, burst mode can be enabled via the tunable/sysctl:
debug.acpi.ec.burst="1"
-rw-r--r-- | sys/dev/acpica/acpi_ec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/acpi_ec.c b/sys/dev/acpica/acpi_ec.c index 96669b3..d099e01 100644 --- a/sys/dev/acpica/acpi_ec.c +++ b/sys/dev/acpica/acpi_ec.c @@ -303,9 +303,9 @@ ACPI_SERIAL_DECL(ec, "ACPI embedded controller"); SYSCTL_DECL(_debug_acpi); SYSCTL_NODE(_debug_acpi, OID_AUTO, ec, CTLFLAG_RD, NULL, "EC debugging"); -static int ec_burst_mode = TRUE; +static int ec_burst_mode; TUNABLE_INT("debug.acpi.ec.burst", &ec_burst_mode); -SYSCTL_INT(_debug_acpi_ec, OID_AUTO, burst, CTLFLAG_RW, &ec_burst_mode, TRUE, +SYSCTL_INT(_debug_acpi_ec, OID_AUTO, burst, CTLFLAG_RW, &ec_burst_mode, 0, "Enable use of burst mode (faster for nearly all systems)"); static int ec_poll_time = EC_POLL_TIME; TUNABLE_INT("debug.acpi.ec.poll_time", &ec_poll_time); |