diff options
author | njl <njl@FreeBSD.org> | 2004-08-15 23:39:37 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-08-15 23:39:37 +0000 |
commit | 5e2ceaef264e036dd8d0a8aa7d7c2ea003df1aa2 (patch) | |
tree | 506d7af58a1f1fd5ded285f974026413e77c4166 /usr.sbin/acpi/acpiconf | |
parent | 0c243144c1343f5acd3e77bba947376e73b004cc (diff) | |
download | FreeBSD-src-5e2ceaef264e036dd8d0a8aa7d7c2ea003df1aa2.zip FreeBSD-src-5e2ceaef264e036dd8d0a8aa7d7c2ea003df1aa2.tar.gz |
Comment out the ability to enable/disable ACPI at runtime. This appears
to not work reliably and crash some systems. It is not supported at all
on others. Pending discussion, the underlying ioctls will be removed.
Diffstat (limited to 'usr.sbin/acpi/acpiconf')
-rw-r--r-- | usr.sbin/acpi/acpiconf/acpiconf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/acpi/acpiconf/acpiconf.c b/usr.sbin/acpi/acpiconf/acpiconf.c index 5781b9e..d9e67e4 100644 --- a/usr.sbin/acpi/acpiconf/acpiconf.c +++ b/usr.sbin/acpi/acpiconf/acpiconf.c @@ -57,6 +57,7 @@ acpi_init() } } +#if 0 static int acpi_enable_disable(int enable) { @@ -69,6 +70,7 @@ acpi_enable_disable(int enable) return (0); } +#endif static int acpi_sleep(int sleep_type) @@ -158,12 +160,14 @@ main(int argc, char *argv[]) case 'i': acpi_battinfo(atoi(optarg)); break; +#if 0 case 'd': acpi_enable_disable(ACPIIO_DISABLE); break; case 'e': acpi_enable_disable(ACPIIO_ENABLE); break; +#endif case 's': if (optarg[0] == 'S') sleep_type = optarg[1] - '0'; |