Mdoc cleanup.

Prompted by:	man2hwnotes.pl
MFC after:	3 days
This commit is contained in:
brueffer 2009-04-07 20:00:20 +00:00
parent 084024c8d7
commit 996bca2553

View File

@ -43,15 +43,14 @@ kernel configuration file:
The The
.Nm .Nm
driver provides support for the Power Management Unit (PMU) found in Apple driver provides support for the Power Management Unit (PMU) found in Apple
Core99 hardware. This includes late G3 laptops, all G4 machines, early G5 Core99 hardware.
This includes late G3 laptops, all G4 machines, early G5
desktops and all G5 XServes. desktops and all G5 XServes.
.Ed
.Pp .Pp
The Apple PMU controller is a multi-purpose ASIC that provides power The Apple PMU controller is a multi-purpose ASIC that provides power
management and thermal control, as well as an ADB bus for the internal management and thermal control, as well as an ADB bus for the internal
keyboard and mouse on laptops. keyboard and mouse on laptops.
.Sh HARDWARE .Sh HARDWARE
.Pp
Chips supported by the Chips supported by the
.Nm .Nm
driver include: driver include:
@ -62,13 +61,13 @@ Apple KeyLargo PMU
.It .It
Apple K2-KeyLargo PMU Apple K2-KeyLargo PMU
.El .El
.Pp
.Sh SYSCTL VARIABLES .Sh SYSCTL VARIABLES
The The
.Nm .Nm
driver provides power management services in addition to an driver provides power management services in addition to an
.Xr adb 4 .Xr adb 4
interface. The following sysctls can be used to control the interface.
The following sysctls can be used to control the
power management behavior and to examine current system power and power management behavior and to examine current system power and
thermal conditions. thermal conditions.
.Bl -tag -width indent .Bl -tag -width indent
@ -84,7 +83,8 @@ The current battery charge, in milliamp hours.
.It Va dev.pmu.%d.batteries.%d.maxcharge .It Va dev.pmu.%d.batteries.%d.maxcharge
The battery's self-reported maximum charge, in milliamp hours. The battery's self-reported maximum charge, in milliamp hours.
.It Va dev.pmu.%d.batteries.%d.rate .It Va dev.pmu.%d.batteries.%d.rate
The current into the battery, in milliamps. While the battery is discharging, The current into the battery, in milliamps.
While the battery is discharging,
this will be negative. this will be negative.
.It Va dev.pmu.%d.batteries.%d.voltage .It Va dev.pmu.%d.batteries.%d.voltage
Battery voltage, in millivolts. Battery voltage, in millivolts.
@ -92,9 +92,10 @@ Battery voltage, in millivolts.
Estimated time until full battery charge (or discharge), in minutes. Estimated time until full battery charge (or discharge), in minutes.
.It Va dev.pmu.%d.batteries.%d.life .It Va dev.pmu.%d.batteries.%d.life
Current fraction of the battery's maximum charge, in percent. Current fraction of the battery's maximum charge, in percent.
.El
.Sh SEE ALSO .Sh SEE ALSO
.Xr adb 4 , .Xr acpi 4 ,
.Xr acpi 4 .Xr adb 4
.Sh HISTORY .Sh HISTORY
The The
.Nm .Nm
@ -111,4 +112,4 @@ driver was written by
.Aq macallan@NetBSD.org .Aq macallan@NetBSD.org
and ported to FreeBSD by and ported to FreeBSD by
.An Nathan Whitehorn .An Nathan Whitehorn
.Aq nwhitehorn@freebsd.org . .Aq nwhitehorn@FreeBSD.org .