kern/159975: [patch] add units to hw.acpi.sleep_delay
Garrett Cooper
yanegomi at gmail.com
Sun Aug 21 18:40:09 UTC 2011
>Number: 159975
>Category: kern
>Synopsis: [patch] add units to hw.acpi.sleep_delay
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 21 18:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: 9.0-BETA1
>Organization:
n/a
>Environment:
FreeBSD akai-ntbk.local 9.0-BETA1 FreeBSD 9.0-BETA1 #8 r225048M: Sun Aug 21 01:09:59 PDT 2011 root at akai-ntbk.local:/usr/obj/usr/src/sys/NETBOOK i386
>Description:
The current description for the hw.acpi.sleep_delay sysctl doesn't note that the unit is in seconds. The attached patch documents that.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: sys/dev/acpica/acpi.c
===================================================================
--- sys/dev/acpica/acpi.c (revision 225048)
+++ sys/dev/acpica/acpi.c (working copy)
@@ -574,7 +574,7 @@
&sc->acpi_suspend_sx, 0, acpi_sleep_state_sysctl, "A", "");
SYSCTL_ADD_INT(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
OID_AUTO, "sleep_delay", CTLFLAG_RW, &sc->acpi_sleep_delay, 0,
- "sleep delay");
+ "sleep delay in seconds");
SYSCTL_ADD_INT(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
OID_AUTO, "s4bios", CTLFLAG_RW, &sc->acpi_s4bios, 0, "S4BIOS mode");
SYSCTL_ADD_INT(&sc->acpi_sysctl_ctx, SYSCTL_CHILDREN(sc->acpi_sysctl_tree),
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list