summaryrefslogtreecommitdiff
path: root/share/man/man4/man4.macppc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-09-19 12:32:11 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-09-19 12:32:11 +0000
commitd8700402bcabe55ad5a3040474b4883ddf5c0506 (patch)
tree955f06c72675bab54a684a8bf1afbbb03f64451e /share/man/man4/man4.macppc
parentdec89341cb36be21b32229a75c29dc875c8ed2e3 (diff)
- remove some silly .Tn/.Tm
- supply a missing -width to one of the lists
Diffstat (limited to 'share/man/man4/man4.macppc')
-rw-r--r--share/man/man4/man4.macppc/apm.431
1 files changed, 11 insertions, 20 deletions
diff --git a/share/man/man4/man4.macppc/apm.4 b/share/man/man4/man4.macppc/apm.4
index 57ea5993362..409a79ae1ee 100644
--- a/share/man/man4/man4.macppc/apm.4
+++ b/share/man/man4/man4.macppc/apm.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: apm.4,v 1.9 2007/11/29 11:35:35 jmc Exp $
+.\" $OpenBSD: apm.4,v 1.10 2010/09/19 12:32:10 jmc Exp $
.\"
.\" Copyright (c) 1998 Marco S. Hyman
.\"
@@ -9,7 +9,7 @@
.\" LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
.\" FOR A PARTICULAR PURPOSE.
.\"
-.Dd $Mdocdate: November 29 2007 $
+.Dd $Mdocdate: September 19 2010 $
.Dt APM 4 macppc
.Os
.Sh NAME
@@ -21,12 +21,9 @@
The
.Nm
driver provides an interface which simulates the Advanced Power Management
-.Pq Tn APM
-.Tn BIOS
-functions.
-The
-.Tn BIOS
-functions are translated into the appropriate PowerManager requests.
+.Pq APM
+BIOS functions.
+The BIOS functions are translated into the appropriate PowerManager requests.
Currently only battery level, AC connection, and charging status is available
from the
.Nm
@@ -131,9 +128,7 @@ value contains the estimated number of minutes of battery life remaining.
.It Dv APM_IOC_NEXTEVENT
.Em NOT YET SUPPORTED on macppc
.Pq Li "struct apm_event_info"
-The
-.Tn APM
-driver stores up to
+The APM driver stores up to
.Dv APM_NEVENTS
events.
This was defined as 16 at the time this documentation was written.
@@ -174,8 +169,7 @@ is one of:
.Em NOT YET SUPPORTED on macppc
.Pq Li "struct apm_ctl"
Allows an application to directly set the
-.Tm APM
-operating mode.
+APM operating mode.
The argument structure is as follows:
.Bd -literal -offset indent
struct apm_ctl {
@@ -191,7 +185,7 @@ indicates the device, typically
.Va mode
indicates the desired operating mode.
Possible values are
-.Bl -tag -compact -offset indent
+.Bl -tag -width Ds -compact -offset indent
.It Dv APM_SYS_READY
.It Dv APM_SYS_STANDBY
.It Dv APM_SYS_SUSPEND
@@ -204,8 +198,7 @@ Possible values are
.Pq Li "int"
This
.Xr ioctl 2
-controls message output by the
-.Tn APM
+controls message output by the APM
driver when a power change event is detected.
The integer parameter is one of:
.Bl -tag -width Ds
@@ -232,8 +225,7 @@ setting.
.El
.Pp
.Em NOT YET SUPPORTED on macppc:
-As noted above, the operation of the
-.Tn APM
+As noted above, the operation of the APM
driver can be modified using the
.Dv machdep.apmwarn
.Xr sysctl 8
@@ -243,8 +235,7 @@ Another driver modifier is the
variable.
When
.Dv machdep.apmhalt
-is set to 1 the
-.Tn APM
+is set to 1 the APM
power down code is modified in a way necessary for correct operation on
some systems, mainly
.Tn IBM