summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-07-25 23:05:54 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-07-25 23:05:54 +0000
commit9ec5fd1db95e008f924e955fcaaaa71238797460 (patch)
tree13d969476c81e22546427044499d358c5102ff9a
parent643ee4ac201ec27c1807c7b6474cc2763b91224e (diff)
first cut at fga docs
-rw-r--r--share/man/man4/man4.sparc/Makefile10
-rw-r--r--share/man/man4/man4.sparc/fga.4103
2 files changed, 109 insertions, 4 deletions
diff --git a/share/man/man4/man4.sparc/Makefile b/share/man/man4/man4.sparc/Makefile
index 796a3a1a144..dc5f8aa96be 100644
--- a/share/man/man4/man4.sparc/Makefile
+++ b/share/man/man4/man4.sparc/Makefile
@@ -1,11 +1,13 @@
# from: @(#)Makefile 8.2 (Berkeley) 2/16/94
-# $Id: Makefile,v 1.13 1999/06/06 04:48:24 jason Exp $
+# $Id: Makefile,v 1.14 1999/07/25 23:05:53 jason Exp $
MAN= intro.4
MAN+= audioamd.4 audiocs.4 be.4 bwtwo.4 cgtwo.4 cgthree.4 cgfour.4 cgsix.4
-MAN+= cgeight.4 cgfourteen.4 esp.4 fd.4 hme.4 ie.4 kbd.4 le.4 magma.4 mem.4
-MAN+= ms.4 openprom.4 qe.4 qec.4 si.4 spif.4 sw.4 tcx.4 xbox.4 xd.4 xy.4 zs.4
-MLINKS= mem.4 kmem.4
+MAN+= cgeight.4 cgfourteen.4 esp.4 fd.4 fga.4 hme.4 ie.4 kbd.4 le.4 magma.4
+MAN+= mem.4 ms.4 openprom.4 qe.4 qec.4 si.4 spif.4 sw.4 tcx.4 xbox.4 xd.4
+MAN+= xy.4 zs.4
+MLINKS= mem.4 kmem.4
+MLINKS+= fga.4 fvme.4
MANSUBDIR=/sparc
.include <bsd.prog.mk>
diff --git a/share/man/man4/man4.sparc/fga.4 b/share/man/man4/man4.sparc/fga.4
new file mode 100644
index 00000000000..5c1f647739d
--- /dev/null
+++ b/share/man/man4/man4.sparc/fga.4
@@ -0,0 +1,103 @@
+.\" $OpenBSD: fga.4,v 1.1 1999/07/25 23:05:53 jason Exp $
+.\"
+.\" Copyright (c) 1999 Jason L. Wright (jason@thought.net)
+.\" All rights reserved.
+.\"
+.\" This software was developed by Jason L. Wright under contract with
+.\" RTMX Incorporated (http://www.rtmx.com).
+.\"
+.\" 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 Jason L. Wright for
+.\" RTMX Incorporated.
+.\" 4. The name of the author may not be used to endorse or promote products
+.\" derived from this software without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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 July 25, 1999
+.Dt FGA 4 sparc
+.Os
+.Sh NAME
+.Nm fga
+.Nd SPARC Force FGA5000 VME/SBus bridge driver
+.Sh SYNOPSIS
+.Cd "fga0 at iommu0"
+.Cd "fvme* at fga0"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides a bridge between SBus and VME interfaces.
+It has support for accessing VME address and data spaces as if they
+were SBus address ranges, and mapping of VME interrupt levels to
+SBus interrupts.
+The
+.Nm
+also provides a set of semaphores and mailboxes which are accessible
+from user programs via
+.Xr ioctl 2 .
+.Pp
+VME devices are attached to the
+.Nm fvme
+pseudo-devices, which provide an interface for drivers to establish
+VME level/vectored interrupts and map address ranges.
+By default the following address ranges are established:
+.Pp
+.Bl -column "256MBXXX" "SBus Slot" "SBus Offset" "VME Space" "VME Offset" -offset indent
+.It Sy Size SBus Slot SBus Offset VME Space VME Offset
+.It Dv "256MB" No " 1" No " 0x0000000" No " A32/D32 0xf0000000"
+.It Dv "256MB" No " 4" No " 0x0000000" No " A32/D16 0xf0000000"
+.It Dv "16MB" No " 5" No " 0xe000000" No " A24/D16 0x000000"
+.It Dv "64KB" No " 5" No " 0xffc0000" No " A16/D8 0x0000"
+.It Dv "64KB" No " 5" No " 0xffd0000" No " A16/D16 0x0000"
+.It Dv "64KB" No " 5" No " 0xffe0000" No " A16/D32 0x0000"
+.El
+.Pp
+The abort switch on the FORCE CPU boards is also controlled by the
+.Nm fga ,
+and is enabled if the eeprom variable
+.Pa abort-ena?
+is set to
+.Pa true .
+Toggling the switch when enabled, stops the kernel and starts the
+kernel debugger
+.Xr ddb 4 .
+.Sh SEE ALSO
+.Xr ioctl 2 ,
+.Xr ddb 4 ,
+.Xr eeprom 8
+.Sh HISTORY
+.Ox
+support for the
+.Nm
+first appeared in
+.Ox 2.6 .
+.Sh AUTHOR
+The driver for the
+.Nm fga
+was written by Jason L. Wright <jason@thought.net> under contract with
+RTMX Incorporated.
+.Sh BUGS
+There are several features provided by the FGA5000 that are not implemented
+in the driver.
+Most notably, VME slave ranges are not mapped and the DMA
+engine is not used.
+Also, several VME interrupts are not handled: SYSFAIL and ACFAIL.