diff options
author | msmith <msmith@FreeBSD.org> | 2001-07-21 21:51:44 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-07-21 21:51:44 +0000 |
commit | 61acbada8687eda8af407b8f207e6ae4116282c1 (patch) | |
tree | 6eebe55861b68711489b6f494d2e6d9e82b505e2 | |
parent | 7bfdde47e4300c8c5a6cecaf88ed3b5108ab5c6a (diff) | |
download | FreeBSD-src-61acbada8687eda8af407b8f207e6ae4116282c1.zip FreeBSD-src-61acbada8687eda8af407b8f207e6ae4116282c1.tar.gz |
ACPI CA doesn't recognis S4BIOS as a seperate sleep type anymore, so
drop support for it here until we work out a better way of handling it.
-rw-r--r-- | usr.sbin/acpi/acpiconf/acpiconf.8 | 1 | ||||
-rw-r--r-- | usr.sbin/acpi/acpiconf/acpiconf.c | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/usr.sbin/acpi/acpiconf/acpiconf.8 b/usr.sbin/acpi/acpiconf/acpiconf.8 index 92128c9..5c8ec3b 100644 --- a/usr.sbin/acpi/acpiconf/acpiconf.8 +++ b/usr.sbin/acpi/acpiconf/acpiconf.8 @@ -57,7 +57,6 @@ Recognized types are .Cm 2 , .Cm 3 , .Cm 4 , -.Cm 4b and .Cm 5 . .El diff --git a/usr.sbin/acpi/acpiconf/acpiconf.c b/usr.sbin/acpi/acpiconf/acpiconf.c index 2d33b65..f30b406 100644 --- a/usr.sbin/acpi/acpiconf/acpiconf.c +++ b/usr.sbin/acpi/acpiconf/acpiconf.c @@ -112,22 +112,6 @@ main(int argc, char *argv[]) argv[0], sleep_type); return -1; } - - /* convert sleep type value to ACPICA format */ - switch (sleep_type) { - case 4: - if (optarg[1] == 'b') { - sleep_type = ACPI_STATE_S4BIOS; - } - break; - - case 5: - sleep_type = ACPI_STATE_S5; - break; - - default: - break; - } break; default: argc -= optind; |