Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2011 18:32:37 GMT
From:      Garrett Cooper <yanegomi@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/159975: [patch] add units to hw.acpi.sleep_delay
Message-ID:  <201108211832.p7LIWblq087414@red.freebsd.org>
Resent-Message-ID: <201108211840.p7LIe9xO047290@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108211832.p7LIWblq087414>