From 9f7f3d29f1a565aa2aadd793d16d23c45719c669 Mon Sep 17 00:00:00 2001 From: mglocker Date: Thu, 7 Jul 2016 08:08:02 +0000 Subject: [PATCH] Add man page for the maxrtc(4) I2C driver. --- share/man/man4/Makefile | 5 +++-- share/man/man4/maxrtc.4 | 45 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 share/man/man4/maxrtc.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 83a84713b4a..65720abb2c0 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.625 2016/07/05 11:43:02 tim Exp $ +# $OpenBSD: Makefile,v 1.626 2016/07/07 08:08:02 mglocker Exp $ MAN= aac.4 ac97.4 acphy.4 \ acpi.4 acpiac.4 acpiasus.4 acpibat.4 acpibtn.4 acpicpu.4 acpidock.4 \ @@ -33,7 +33,8 @@ MAN= aac.4 ac97.4 acphy.4 \ ix.4 ixgb.4 jmb.4 jme.4 jmphy.4 \ kate.4 km.4 ksyms.4 kue.4 lc.4 lge.4 lii.4 lisa.4 lm.4 \ lmenv.4 lmn.4 lmtemp.4 lo.4 lpt.4 lxtphy.4 luphy.4 \ - maestro.4 mainbus.4 malo.4 maxds.4 maxtmp.4 mbg.4 midi.4 mii.4 mfi.4 \ + maestro.4 mainbus.4 malo.4 maxds.4 maxrtc.4 maxtmp.4 mbg.4 midi.4 \ + mii.4 mfi.4 \ mfii.4 mlphy.4 moscom.4 mos.4 mpe.4 mpath.4 mpi.4 mpii.4 mpu.4 msk.4 \ mpw.4 msts.4 mtd.4 mtdphy.4 multicast.4 mtio.4 myx.4 \ ne.4 neo.4 nep.4 netintro.4 nfe.4 nge.4 nmea.4 \ diff --git a/share/man/man4/maxrtc.4 b/share/man/man4/maxrtc.4 new file mode 100644 index 00000000000..3d82c3f8e5c --- /dev/null +++ b/share/man/man4/maxrtc.4 @@ -0,0 +1,45 @@ +.\" $OpenBSD: maxrtc.4,v 1.1 2016/07/07 08:08:02 mglocker Exp $ +.\" +.\" Copyright (c) 2006 Theo de Raadt +.\" Copyright (c) 2016 Marcus Glocker +.\" +.\" 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 7 2016 $ +.Dt MAXRTC 4 +.Os +.Sh NAME +.Nm maxrtc +.Nd Maxim DS1307 Real Time Clock +.Sh SYNOPSIS +.Cd "maxrtc* at iic?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Maxim DS1307 Real Time Clock chip. +It is a low-power, full binary-coded decimal (BCD) clock/calendar +plus 56 bytes of NV SRAM. +.Sh SEE ALSO +.Xr iic 4 , +.Xr intro 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 6.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Marcus Glocker Aq Mt mglocker@openbsd.org . -- 2.20.1