From f7d011d759d639d584f8111a911017359aef4880 Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 25 Feb 2006 17:42:42 +0000 Subject: [PATCH] Add 3 man pages from: Stephan Meisinger --- share/man/man4/man4.sparc/Makefile | 10 ++-- share/man/man4/man4.sparc/auxreg.4 | 60 ++++++++++++++++++++++++ share/man/man4/man4.sparc/clock.4 | 74 ++++++++++++++++++++++++++++++ share/man/man4/man4.sparc/timer.4 | 59 ++++++++++++++++++++++++ 4 files changed, 199 insertions(+), 4 deletions(-) create mode 100644 share/man/man4/man4.sparc/auxreg.4 create mode 100644 share/man/man4/man4.sparc/clock.4 create mode 100644 share/man/man4/man4.sparc/timer.4 diff --git a/share/man/man4/man4.sparc/Makefile b/share/man/man4/man4.sparc/Makefile index 45e9f2cd0ad3..00bc7fb39c2a 100644 --- a/share/man/man4/man4.sparc/Makefile +++ b/share/man/man4/man4.sparc/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.20 2005/07/17 01:27:15 macallan Exp $ +# $NetBSD: Makefile,v 1.21 2006/02/25 17:42:42 christos Exp $ # from: @(#)Makefile 8.2 (Berkeley) 2/16/94 -MAN= audioamd.4 bwtwo.4 bpp.4 cgeight.4 cgfour.4 cgfourteen.4 cgsix.4 \ - cgthree.4 cgtwo.4 dbri.4 fd.4 ie.4 intro.4 kbd.4 magma.4 mem.4 ms.4 \ - nell.4 openprom.4 pnozz.4 tctrl.4 tslot.4 tcx.4 xd.4 xy.4 zx.4 +MAN= audioamd.4 auxreg.4 bpp.4 bwtwo.4 cgeight.4 cgfour.4 cgfourteen.4 \ + cgsix.4 cgthree.4 cgtwo.4 clock.4 dbri.4 fd.4 ie.4 intro.4 kbd.4 \ + magma.4 mem.4 ms.4 nell.4 openprom.4 pnozz.4 tctrl.4 tcx.4 timer.4 \ + tslot.4 xd.4 xy.4 zx.4 + MLINKS+=mem.4 kmem.4 MLINKS+=fd.4 fdc.4 MANSUBDIR=/sparc diff --git a/share/man/man4/man4.sparc/auxreg.4 b/share/man/man4/man4.sparc/auxreg.4 new file mode 100644 index 000000000000..a1798ceae577 --- /dev/null +++ b/share/man/man4/man4.sparc/auxreg.4 @@ -0,0 +1,60 @@ +.\" $NetBSD: auxreg.4,v 1.1 2006/02/25 17:42:42 christos Exp $ +.\" +.\" Copyright (c) 2006 Stephan Meisinger +.\" +.\" 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 by the NetBSD +.\" Foundation, Inc. and its contributors. +.\" 4. Neither the name of The NetBSD Foundation nor the names of its +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +.\" ``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 FOUNDATION OR CONTRIBUTORS +.\" 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 February 24, 2006 +.Dt AUXREG 4 sparc +.Os +.Sh NAME +.Nm auxreg +.Nd Sun SPARC auxiliary register +.Sh SYNOPSIS +.Cd "auxreg0 at mainbus0 # sun4c" +.Cd "auxreg0 at obio0 # sun4m" +.Cd "options BLINK" + +.Sh DESCRIPTION +The +.Nm +device contains controls for the front panel LED and various status bits for +the SPARC +.Xr sparc/fdc 4 +floppy controller. +.Pp +.Cd "options BLINK" +force the front panel LED to blink +.Sh SEE ALSO +.Xr sparc/fdc 4 +.Sh HISTORY +The +.Nm +appeared in +.Nx 1.0 . diff --git a/share/man/man4/man4.sparc/clock.4 b/share/man/man4/man4.sparc/clock.4 new file mode 100644 index 000000000000..feb44319d293 --- /dev/null +++ b/share/man/man4/man4.sparc/clock.4 @@ -0,0 +1,74 @@ +.\" $NetBSD: clock.4,v 1.1 2006/02/25 17:42:42 christos Exp $ +.\" +.\" Copyright (c) 2006 Stephan Meisinger +.\" +.\" This software was developed by the Computer Systems Engineering group +.\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and +.\" contributed to Berkeley. +.\" +.\" 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 by the NetBSD +.\" Foundation, Inc. and its contributors. +.\" 4. Neither the name of The NetBSD Foundation nor the names of its +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +.\" ``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 FOUNDATION OR CONTRIBUTORS +.\" 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 February 24, 2006 +.Dt CLOCK 4 sparc +.Os +.Sh NAME +.Nm clock , +.Nm oclock +.Nd Clock driver for Sun SPARC computers +.Sh SYNOPSIS +.Cd "clock0 at mainbus0 # sun4c" +.Cd "clock0 at obio0 # sun4m" +.Cd "clock0 at obio0 addr 0xf2000000 # sun4/300" +.Pp +.Cd "ooclock0 at obio0 addr 0xf3000000 # sun4/200" +.Cd "ooclock0 at obio0 addr 0x03000000 # sun4/100" +.Sh DESCRIPTION +The +.Nm +device contains common timer, clock and eeprom routines for the NetBSD kernel. +.Pp All system use the timer interrupt to drive the hard clock. +The second interrupt is used to drive statistics clock, expect sun4/100 and sun4/200 machines, which don't have a spare timer device. +.Sh HARDWARE +The +.Nm +driver provides support for the following chips: +.Pp +.Bl -tag -width Dv -offset indent -compact +.It Tn Dallas DS1287A +.It Tn Intersil 7170 +.It Tn Mostek Mk48T02 +.It Tn Mostek Mk48T08 +.El +.Sh SEE ALSO +.Xr sparc/timer 4 +.Sh HISTORY +The +.Nm +appeared in +.Nx 1.0 . diff --git a/share/man/man4/man4.sparc/timer.4 b/share/man/man4/man4.sparc/timer.4 new file mode 100644 index 000000000000..034aa6f39a0b --- /dev/null +++ b/share/man/man4/man4.sparc/timer.4 @@ -0,0 +1,59 @@ +.\" $NetBSD: timer.4,v 1.1 2006/02/25 17:42:42 christos Exp $ +.\" +.\" Copyright (c) 2006 Stephan Meisinger +.\" +.\" This software was developed by the Computer Systems Engineering group +.\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and +.\" contributed to Berkeley. +.\" +.\" 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 by the NetBSD +.\" Foundation, Inc. and its contributors. +.\" 4. Neither the name of The NetBSD Foundation nor the names of its +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +.\" ``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 FOUNDATION OR CONTRIBUTORS +.\" 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 February 24, 2006 +.Dt TIMER 4 sparc +.Os +.Sh NAME +.Nm timer +.Nd Timer driver for Sun SPARC computers +.Sh SYNOPSIS +.Cd "timer0 at mainbus0 # sun4c" +.Cd "timer0 at obio0 # sun4m" +.Cd "timer0 at obio0 addr 0xef000000 # sun4/300" +.Sh DESCRIPTION +The +.Nm +device is used to generate clocks for the NetBSD kernel. +.Pp +The hardclock is provided by the timer register and the statistics clock by CPU counter registers. +.Sh SEE ALSO +.Xr sparc/clock 4 +.Sh HISTORY +The +.Nm +appeared in +.Nx 1.0 .