summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-06 20:00:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-06 20:00:00 +0000
commitb0462d3af8e6f8eeca3f76d440489d7f55373b3b (patch)
tree7ab27a0c20bf7c2597390209819a07c51875292e /share/man
parent24d3e23fa483281a542fa2a1d02280c5e1ec93f8 (diff)
one wire counter driver 2nd rev, from John L. Scarfone" <j0@cox.net> PR 6422
ok miod
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/Makefile4
-rw-r--r--share/man/man4/onewire.46
-rw-r--r--share/man/man4/owctr.455
3 files changed, 61 insertions, 4 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index fc6b21adb49..feda76c49d9 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.510 2010/07/03 03:59:16 krw Exp $
+# $OpenBSD: Makefile,v 1.511 2010/07/06 19:59:58 deraadt Exp $
MAN= aac.4 ac97.4 acphy.4 \
acpi.4 acpiac.4 acpiasus.4 acpibat.4 acpibtn.4 acpicpu.4 acpidock.4 \
@@ -37,7 +37,7 @@ MAN= aac.4 ac97.4 acphy.4 \
ne.4 neo.4 netintro.4 nfe.4 nge.4 nmea.4 \
noct.4 nofn.4 nsclpcsio.4 nsgphy.4 nsphy.4 nsphyter.4 null.4 nviic.4 \
ohci.4 opl.4 options.4 onewire.4 oosiop.4 osiop.4 otus.4 \
- owid.4 owsbm.4 \
+ owid.4 owctr.4 owsbm.4 \
owtemp.4 pcagpio.4 pcaled.4 pcdisplay.4 pchb.4 pci.4 pcib.4 pcfadc.4 \
pcfiic.4 pciide.4 pckbc.4 pckbd.4 pcmcia.4 pcn.4 pcppi.4 pcscp.4 \
pf.4 pflog.4 pflow.4 pfsync.4 pgt.4 piixpm.4 pim.4 \
diff --git a/share/man/man4/onewire.4 b/share/man/man4/onewire.4
index 66b53541a99..8fa5288e091 100644
--- a/share/man/man4/onewire.4
+++ b/share/man/man4/onewire.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: onewire.4,v 1.8 2009/11/16 20:13:12 miod Exp $
+.\" $OpenBSD: onewire.4,v 1.9 2010/07/06 19:59:58 deraadt Exp $
.\"
.\" Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 16 2009 $
+.Dd $Mdocdate: July 6 2010 $
.Dt ONEWIRE 4
.Os
.Sh NAME
@@ -57,6 +57,8 @@ Octane core system widget
.El
.Sh SUPPORTED SLAVES
.Bl -tag -width 11n -offset ind -compact
+.It Xr owctr 4
+1-Wire counter device
.It Xr owid 4
1-Wire ID device
.It Xr owmac 4
diff --git a/share/man/man4/owctr.4 b/share/man/man4/owctr.4
new file mode 100644
index 00000000000..aa81c3544f3
--- /dev/null
+++ b/share/man/man4/owctr.4
@@ -0,0 +1,55 @@
+.\" Copyright (c) 2010 John L. Scarfone <john@scarfone.net>
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd $Mdocdate: July 6 2010 $
+.Dt OWCTR 4
+.Os
+.Sh NAME
+.Nm owctr
+.Nd 1-Wire counter device
+.Sh SYNOPSIS
+.Cd "owctr* at onewire?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides support for the externally triggered counters in the
+DS2423 chip.
+The supported chip contains a 4096 bit SRAM and four 32-bit counters.
+The two externally triggered counters are accessible by the
+.Xr sysctl 8
+interface.
+.Pp
+The following chips are supported by the driver:
+.Pp
+.Bl -bullet -compact -offset indent
+.It
+Maxim/Dallas DS2423
+.El
+.Sh SEE ALSO
+.Xr intro 4 ,
+.Xr onewire 4 ,
+.Xr owsbm 4 ,
+.Xr owtemp 4 ,
+.Xr sysctl 8
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Ox 4.8 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An John L. Scarfone Aq john@scarfone.net .