Module Name: src
Committed By: jruoho
Date: Sat Apr 10 04:49:17 UTC 2010
Modified Files:
src/share/man/man4: acpi.4
src/share/man/man7: sysctl.7
Log Message:
Move the description of 'hw.acpi.supported_states' from sysctl(7) to acpi(4).
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/share/man/man4/acpi.4
cvs rdiff -u -r1.36 -r1.37 src/share/man/man7/sysctl.7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/acpi.4
diff -u src/share/man/man4/acpi.4:1.43 src/share/man/man4/acpi.4:1.44
--- src/share/man/man4/acpi.4:1.43 Fri Mar 19 04:04:27 2010
+++ src/share/man/man4/acpi.4 Sat Apr 10 04:49:17 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: acpi.4,v 1.43 2010/03/19 04:04:27 cnst Exp $
+.\" $NetBSD: acpi.4,v 1.44 2010/04/10 04:49:17 jruoho Exp $
.\"
.\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd February 9, 2010
+.Dd April 10, 2010
.Dt ACPI 4
.Os
.Sh NAME
@@ -127,7 +127,7 @@
Few
.Xr sysctl 8
variables are directly relevant for
-.Nm :
+.Tn ACPI .
.Bl -inset -width hw.acpi.supported_state -offset 3n
.It Ic hw.acpi.root
is the
@@ -136,8 +136,22 @@
.It Ic hw.acpi.supported_states
is a list of the supported
.Tn ACPI
-states (see
-.Xr sysctl 7 ) .
+sleep states.
+The list can contain the following values:
+.Bl -tag -width XS1X -offset indent
+.It S0
+fully running
+.It S1
+power on suspend (CPU and hard disks are off)
+.It S2
+similar to S3, usually not implemented
+.It S3
+suspend-to-RAM
+.It S4
+suspend-to-disk (not supported)
+.It S5
+power off
+.El
.It Ic machdep.acpi_vbios_reset
defines the handling of the graphics card.
The supported values are:
Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.36 src/share/man/man7/sysctl.7:1.37
--- src/share/man/man7/sysctl.7:1.36 Thu Mar 25 15:09:05 2010
+++ src/share/man/man7/sysctl.7 Sat Apr 10 04:49:17 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: sysctl.7,v 1.36 2010/03/25 15:09:05 jruoho Exp $
+.\" $NetBSD: sysctl.7,v 1.37 2010/04/10 04:49:17 jruoho Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95
.\"
-.Dd February 21, 2010
+.Dd April 10, 2010
.Dt SYSCTL 7
.Os
.Sh NAME
@@ -154,9 +154,8 @@
level is detailed below.
The changeable column shows whether a process with appropriate
privilege may change the value.
-.Bl -column "hw.acpi.supported_states" "integer" "Changeable" -offset indent
+.Bl -column "hw.machine_arch" "integer" "Changeable" -offset indent
.It Sy Second level name Type Changeable
-.It hw.acpi.supported_states string no
.It hw.alignbytes integer no
.It hw.byteorder integer no
.It hw.cnmagic string yes
@@ -174,25 +173,6 @@
.El
.Pp
.Bl -tag -width "123456"
-.It Li hw.acpi.supported_states
-List of possible
-.Tn ACPI
-sleep states.
-The list can contain the following values:
-.Bl -tag -width XS1X
-.It S0
-fully running
-.It S1
-power on suspend (CPU and hard disks are off)
-.It S2
-similar to S3, usually not implemented
-.It S3
-suspend-to-RAM
-.It S4
-suspend-to-disk (needs BIOS support)
-.It S5
-power off
-.El
.It Li hw.alignbytes ( HW_ALIGNBYTES )
Alignment constraint for all possible data types.
This shows the value