.\" $NetBSD: ioasic.4,v 1.5 2017/09/12 14:48:44 wiz Exp $
.\"
.\" Copyright (c) 1996, 1997 Jonathan Stone.
.\" All rights reserved.
.\"
.\" 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 Jonathan Stone.
.\" 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 September 12, 2007
.Dt IOASIC 4
.Os
.Sh NAME
.Nm ioasic
.Nd
baseboard IO control ASIC for DEC TURBOchannel systems
.Sh SYNOPSIS
.Cd "ioasic0 at tc? slot ? offset ?"
.Sh DESCRIPTION
The
.Nm
driver provides support for the DEC proprietary IOCTL ASIC found on
all DEC TURBOchannel machines with MIPS (DECstation 5000 series,
excluding the 5000/200) and Alpha (3000-series) processors.
On these machines (including the 5000/200), all baseboard devices
should be configured as children of the
.Nm
device.
.Pp
The
.Nm
provides hardware DMA channels and interrupt support for several
baseboard devices, including one
.Nm asc
SCSI device with a scatter/gather DMA channel, an mc146818-compatible
.Nm mcclock ,
an Am7930 audio device
.Nm bba ,
one or two
.Nm zs
two-port serial devices, and a AMD 7990 LANCE
.Nm le
Ethernet interface.
.Pp
The
.Nm
is also used for the floppy-disc drive and audio/ISDN hardware on
the Personal DECstation and audio-equipped TURBOchannel Alphas,
where the
.Nm
hardware provides a scatter-gather DMA channel between the 16-bit
device and the 32-bit
.Nm tc
DMA address space.
.Pp
Support for scatter-gather DMA eliminates the need for additional copying.
A baseboard
.Nm asc
SCSI adaptor attached to an
.Nm ioasic
will give slightly better performance than its
.Nm tc
counterpart.
.Sh SEE ALSO
.Xr asc 4 ,
.Xr bba 4 ,
.Xr intro 4 ,
.Xr le 4 ,
.Xr mcclock 4 ,
.Xr tc 4 ,
.Xr zs 4
.Sh HISTORY
The
.Nm
driver
first appeared in
.Nx 1.1 ,
derived from DECstation boot-time configuration code in
.Bx 4.4 .
.Sh BUGS
The DECstation 5000/200 does not actually have an IOASIC
chip, but for consistency it must be configured as if it did.