Source-Changes-HG archive

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

[src/trunk]: src/share/man/man4 Add g760a fan speed controller driver.



details:   https://anonhg.NetBSD.org/src/rev/d7e97fae06ff
branches:  trunk
changeset: 757891:d7e97fae06ff
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Sat Oct 02 06:22:00 2010 +0000

description:
Add g760a fan speed controller driver.

diffstat:

 share/man/man4/Makefile |   4 +-
 share/man/man4/g760a.4  |  73 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+), 2 deletions(-)

diffs (95 lines):

diff -r ab63afda4d52 -r d7e97fae06ff share/man/man4/Makefile
--- a/share/man/man4/Makefile   Sat Oct 02 06:15:52 2010 +0000
+++ b/share/man/man4/Makefile   Sat Oct 02 06:22:00 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.525 2010/08/06 17:00:12 jruoho Exp $
+#      $NetBSD: Makefile,v 1.526 2010/10/02 06:22:00 kiyohara Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/18/93
 
 MAN=   aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
@@ -117,7 +117,7 @@
 MAN+=  fwohci.4 fwip.4 sbp.4
 
 # machine-independent I2C devices
-MAN+=  dbcool.4 lmtemp.4 sdtemp.4 smscmon.4 spdmem.4
+MAN+=  dbcool.4 g760a.4 lmtemp.4 sdtemp.4 smscmon.4 spdmem.4
 
 # machine-independent SPI devices
 MAN += m25p.4 tm121temp.4
diff -r ab63afda4d52 -r d7e97fae06ff share/man/man4/g760a.4
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/man/man4/g760a.4    Sat Oct 02 06:22:00 2010 +0000
@@ -0,0 +1,73 @@
+.\" $NetBSD: g760a.4,v 1.1 2010/10/02 06:22:00 kiyohara Exp $
+.\"
+.\" Copyright (c) 2008 A.Leo.
+.\" 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. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"          This product includes software developed for the
+.\"          NetBSD Project.  See http://www.NetBSD.org/ for
+.\"          information about NetBSD.
+.\" 4. The name of the author may not be used to endorse or promote products
+.\"    derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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 April 11, 2008
+.Dt G760A 4
+.Os
+.Sh NAME
+.Nm g760a
+.Nd Global Mixed-mode Technology Inc. G760a fan speed controller driver
+.Sh SYNOPSIS
+.Cd g760a0 at iic? addr 0x3e
+.Pp
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the
+.Tn Global Mixed-mode Technology Inc
+G760a on iicbus fan speed controller to be used with the
+.Xr envsys 4
+API. This chip could be found in
+.Tn D-Link's DNS-323 NAS box.
+.Pp
+The following
+.Xr sysctl 8
+variable control the fan's speed:
+.Bl -tag
+.It Dv machdep.g760a0.rpm
+This value specifies the desired speed for the fan.
+Valid range is 2000..20000 or 0 (the fan is turned off).
+The default value is 0.
+.Pp
+When setting the desired speed the RPM number will be converted
+to the internal represenation and truncated. For example when you
+are setting 2000 it will be truncated to 2006, and 8000 will be
+changed to 8057.
+.El
+.Sh SEE ALSO
+.Xr lm 4 ,
+.Xr envsys 4 ,
+.Xr envstat 4
+.Sh AUTHORS
+The
+.Nm
+driver was written by A. Leo.



Home | Main Index | Thread Index | Old Index