From owner-cvs-src-old@FreeBSD.ORG Tue Jan 11 21:18:45 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1377106566C for ; Tue, 11 Jan 2011 21:18:45 +0000 (UTC) (envelope-from andreast@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9EF678FC19 for ; Tue, 11 Jan 2011 21:18:45 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p0BLIjNO006858 for ; Tue, 11 Jan 2011 21:18:45 GMT (envelope-from andreast@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0BLIjcA006857 for cvs-src-old@freebsd.org; Tue, 11 Jan 2011 21:18:45 GMT (envelope-from andreast@repoman.freebsd.org) Message-Id: <201101112118.p0BLIjcA006857@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to andreast@repoman.freebsd.org using -f From: Andreas Tobler Date: Tue, 11 Jan 2011 21:18:29 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/powerpc/powermac fcu.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 21:18:45 -0000 andreast 2011-01-11 21:18:29 UTC FreeBSD src repository Modified files: sys/powerpc/powermac fcu.c Log: SVN rev 217286 on 2011-01-11 21:18:29Z by andreast Add new functions, fcu_fan_set_pwm and fcu_fan_get_pwm, to set and get the pwm values. We can now set the fan's speed of a PWM controlled fan with % numbers between 30 and 100 % instead of trying to model a % number based on rpm. The fcu chip offers both, the dutycycle and the rpm value of the PWM controlled fans. I added the rpm value to the list of information available via sysctl(8). Tested by: Paul Mather Approved by: nwhitehorn (mentor) Revision Changes Path 1.2 +172 -58 src/sys/powerpc/powermac/fcu.c