Add powernow(4).

This commit is contained in:
jruoho 2011-02-24 11:29:45 +00:00
parent b365a799cf
commit 4fcecccfb5
3 changed files with 82 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.1293 2011/02/23 11:50:03 jruoho Exp $
# $NetBSD: mi,v 1.1294 2011/02/24 11:29:45 jruoho Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -1791,6 +1791,7 @@
./usr/share/man/cat4/x86/hpet.0 man-sys-catman .cat
./usr/share/man/cat4/x86/ichlpcib.0 man-sys-catman .cat
./usr/share/man/cat4/x86/ioapic.0 man-sys-catman .cat
./usr/share/man/cat4/x86/powernow.0 man-sys-catman .cat
./usr/share/man/cat4/xbd.0 man-sys-catman .cat
./usr/share/man/cat4/xbdback.0 man-sys-catman .cat
./usr/share/man/cat4/xbox.0 man-sys-catman .cat
@ -4476,6 +4477,7 @@
./usr/share/man/html4/x86/hpet.html man-sys-htmlman html
./usr/share/man/html4/x86/ichlpcib.html man-sys-htmlman html
./usr/share/man/html4/x86/ioapic.html man-sys-htmlman html
./usr/share/man/html4/x86/powernow.html man-sys-htmlman html
./usr/share/man/html4/xbd.html man-sys-htmlman html
./usr/share/man/html4/xbdback.html man-sys-htmlman html
./usr/share/man/html4/xbox.html man-sys-htmlman html
@ -7096,6 +7098,7 @@
./usr/share/man/man4/x86/hpet.4 man-sys-man .man
./usr/share/man/man4/x86/ichlpcib.4 man-sys-man .man
./usr/share/man/man4/x86/ioapic.4 man-sys-man .man
./usr/share/man/man4/x86/powernow.4 man-sys-man .man
./usr/share/man/man4/xbd.4 man-sys-man .man
./usr/share/man/man4/xbdback.4 man-sys-man .man
./usr/share/man/man4/xbox.4 man-sys-man .man

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.7 2011/02/23 11:50:03 jruoho Exp $
# $NetBSD: Makefile,v 1.8 2011/02/24 11:29:46 jruoho Exp $
MAN= amdpcib.4 balloon.4 coretemp.4 est.4 \
fwhrng.4 hpet.4 ichlpcib.4 ioapic.4
fwhrng.4 hpet.4 ichlpcib.4 ioapic.4 powernow.4
MANSUBDIR=/x86

View File

@ -0,0 +1,76 @@
.\" $NetBSD: powernow.4,v 1.1 2011/02/24 11:29:46 jruoho Exp $
.\"
.\" Copyright (c) 2011 Jukka Ruohonen <jruohonen@iki.fi>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Neither the name of the author nor the names of any
.\" contributors may be used to endorse or promote products derived
.\" from this software without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd February 24, 2011
.Dt POWERNOW 4
.Os
.Sh NAME
.Nm powernow
.Nd AMD PowerNow! and Cool'n'Quiet
.Sh SYNOPSIS
.Cd "powernow0 at cpu0"
.Sh DESCRIPTION
The
.Nm
driver supports
.Tn AMD
.Dq PowerNow!
and
.Dq Cool'n'Quiet
.Tn CPU
frequency scaling technologies.
The following
.Xr sysctl 8
variables are available with
.Nm :
.Bl -tag -width "machdep.powernow.frequency.available" -offset 2n
.It Ic machdep.powernow.frequency.target
The target frequency of the
.Tn CPUs .
.It Ic machdep.powernow.frequency.current
The current frequency.
.It Ic machdep.powernow.frequency.available
The available frequencies.
.El
.Pp
Note, however, that these variables are
not guaranteed to exist in the future versions of
.Nx .
.Sh SEE ALSO
.Xr acpicpu 4 ,
.Xr est 4
.Sh CAVEATS
The
.Nm
driver is considered a legacy interface to
be used only with relatively old systems.
The driver supports only
.Tn AMD
processor families
.Tn K7
(for instance, Duron, Athlon, and some Semprons) and
.Tn K8
(namely, the early 64-bit family, including Athlon 64, Opteron, and Turion).