Bug 159975 - [acpica] [patch] add units to hw.acpi.sleep_delay
Summary: [acpica] [patch] add units to hw.acpi.sleep_delay
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.0-BETA1
Hardware: Any Any
: Normal Affects Only Me
Assignee: Christian Brueffer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-21 19:40 UTC by Enji Cooper
Modified: 2013-02-03 22:29 UTC (History)
0 users

See Also:


Attachments
file.diff (689 bytes, patch)
2011-08-21 19:40 UTC, Enji Cooper
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2011-08-21 19:40:09 UTC
The current description for the hw.acpi.sleep_delay sysctl doesn't note that the unit is in seconds. The attached patch documents that.

Fix: Patch attached with submission follows:
Comment 1 Christian Brueffer freebsd_committer freebsd_triage 2011-09-13 16:57:35 UTC
State Changed
From-To: open->patched

Committed, MFC pending. Thanks! 


Comment 2 Christian Brueffer freebsd_committer freebsd_triage 2011-09-13 16:57:35 UTC
Responsible Changed
From-To: freebsd-bugs->brueffer

MFC reminder.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-09-13 16:57:43 UTC
Author: brueffer
Date: Tue Sep 13 15:57:29 2011
New Revision: 225533
URL: http://svn.freebsd.org/changeset/base/225533

Log:
  Improve the sleep_delay sysctl description by specifying which unit
  the number is in.
  
  PR:		159975
  Submitted by:	gcooper
  Approved by:	re (kib)
  MFC after:	1 week

Modified:
  head/sys/dev/acpica/acpi.c

Modified: head/sys/dev/acpica/acpi.c
==============================================================================
--- head/sys/dev/acpica/acpi.c	Tue Sep 13 15:49:28 2011	(r225532)
+++ head/sys/dev/acpica/acpi.c	Tue Sep 13 15:57:29 2011	(r225533)
@@ -574,7 +574,7 @@ acpi_attach(device_t dev)
 	&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),
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 4 Christian Brueffer freebsd_committer freebsd_triage 2011-09-20 06:03:01 UTC
State Changed
From-To: patched->closed

MFCs done.