Module Name: src Committed By: rkujawa Date: Tue Oct 15 11:22:58 UTC 2013
Modified Files: src/share/man/man4: mcp980x.4 Log Message: Add information about user settable resolution via sysctl. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/mcp980x.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/mcp980x.4 diff -u src/share/man/man4/mcp980x.4:1.2 src/share/man/man4/mcp980x.4:1.3 --- src/share/man/man4/mcp980x.4:1.2 Sat Jul 20 21:39:58 2013 +++ src/share/man/man4/mcp980x.4 Tue Oct 15 11:22:58 2013 @@ -1,4 +1,4 @@ -.\" $NetBSD: mcp980x.4,v 1.2 2013/07/20 21:39:58 wiz Exp $ +.\" $NetBSD: mcp980x.4,v 1.3 2013/10/15 11:22:58 rkujawa Exp $ .\" .\" Copyright (c) 2013 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd May 8, 2013 +.Dd October 15, 2013 .Dt MCP980X 4 .Os .Sh NAME @@ -38,10 +38,19 @@ .Sh DESCRIPTION The .Nm -driver provides minimal support for the MCP980x series of temperature sensors. +driver provides support for the MCP980x series of temperature sensors. It allows reporting ambient temperature through the .Xr envsys 4 API. +.Sh SYSCTL VARIABLES +The following +.Xr sysctl 3 +variable are provided: +.Bl -tag -width machdep.mcp980x0.res +.It Va machdep.mcp980x0.res +ADC resolution (integer). +Valid values are 0-3, where 0 is 9-bit (0.5 Celsius degree) and 3 is 12-bit +(0.0625 Celsius degree) resolution. .Sh SEE ALSO .Xr envsys 4 .Sh HISTORY