summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi/acpiconf/acpiconf.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2001-07-21 21:51:44 +0000
committermsmith <msmith@FreeBSD.org>2001-07-21 21:51:44 +0000
commit61acbada8687eda8af407b8f207e6ae4116282c1 (patch)
tree6eebe55861b68711489b6f494d2e6d9e82b505e2 /usr.sbin/acpi/acpiconf/acpiconf.c
parent7bfdde47e4300c8c5a6cecaf88ed3b5108ab5c6a (diff)
downloadFreeBSD-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.
Diffstat (limited to 'usr.sbin/acpi/acpiconf/acpiconf.c')
-rw-r--r--usr.sbin/acpi/acpiconf/acpiconf.c16
1 files changed, 0 insertions, 16 deletions
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;
OpenPOWER on IntegriCloud