Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Add powernow(4).



details:   https://anonhg.NetBSD.org/src/rev/e342c1646b7c
branches:  trunk
changeset: 762618:e342c1646b7c
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Thu Feb 24 11:29:45 2011 +0000

description:
Add powernow(4).

diffstat:

 distrib/sets/lists/man/mi          |   5 ++-
 share/man/man4/man4.x86/Makefile   |   4 +-
 share/man/man4/man4.x86/powernow.4 |  76 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 82 insertions(+), 3 deletions(-)

diffs (126 lines):

diff -r 41bd383ce525 -r e342c1646b7c distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Thu Feb 24 11:22:34 2011 +0000
+++ b/distrib/sets/lists/man/mi Thu Feb 24 11:29:45 2011 +0000
@@ -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
diff -r 41bd383ce525 -r e342c1646b7c share/man/man4/man4.x86/Makefile
--- a/share/man/man4/man4.x86/Makefile  Thu Feb 24 11:22:34 2011 +0000
+++ b/share/man/man4/man4.x86/Makefile  Thu Feb 24 11:29:45 2011 +0000
@@ -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
 
diff -r 41bd383ce525 -r e342c1646b7c share/man/man4/man4.x86/powernow.4
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/man/man4/man4.x86/powernow.4        Thu Feb 24 11:29:45 2011 +0000
@@ -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@localhost>
+.\" 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).



Home | Main Index | Thread Index | Old Index