1*d173e865Swiz.\" $NetBSD: ast.4,v 1.12 2004/05/11 22:42:47 wiz Exp $ 2f72994dbScgd.\" 3f72994dbScgd.\" Copyright (c) 1990, 1991 The Regents of the University of California. 4f72994dbScgd.\" All rights reserved. 5f72994dbScgd.\" 6f72994dbScgd.\" This code is derived from software contributed to Berkeley by 7f72994dbScgd.\" the Systems Programming Group of the University of Utah Computer 8f72994dbScgd.\" Science Department. 9f72994dbScgd.\" Redistribution and use in source and binary forms, with or without 10f72994dbScgd.\" modification, are permitted provided that the following conditions 11f72994dbScgd.\" are met: 12f72994dbScgd.\" 1. Redistributions of source code must retain the above copyright 13f72994dbScgd.\" notice, this list of conditions and the following disclaimer. 14f72994dbScgd.\" 2. Redistributions in binary form must reproduce the above copyright 15f72994dbScgd.\" notice, this list of conditions and the following disclaimer in the 16f72994dbScgd.\" documentation and/or other materials provided with the distribution. 17075022b3Sagc.\" 3. Neither the name of the University nor the names of its contributors 18f72994dbScgd.\" may be used to endorse or promote products derived from this software 19f72994dbScgd.\" without specific prior written permission. 20f72994dbScgd.\" 21f72994dbScgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 22f72994dbScgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23f72994dbScgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24f72994dbScgd.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25f72994dbScgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26f72994dbScgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27f72994dbScgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28f72994dbScgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29f72994dbScgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30f72994dbScgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31f72994dbScgd.\" SUCH DAMAGE. 32f72994dbScgd.\" 33f72994dbScgd.\" from: @(#)dca.4 5.2 (Berkeley) 3/27/91 34f72994dbScgd.\" from: Id: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp 35f72994dbScgd.\" 36f72994dbScgd.Dd March 30, 1994 3761c93b39Sjonathan.Dt AST 4 38c1d21e28Sgarbled.Os 39f72994dbScgd.Sh NAME 40f72994dbScgd.Nm ast 41f72994dbScgd.Nd 42f72994dbScgdmultiplexing serial communications interface 43f72994dbScgd.Sh SYNOPSIS 4453792bd3Sglass.Cd "ast0 at isa? port 0x1a0 irq 5" 45c1f27b86Scgd.Cd "com2 at ast? slave ?" 46c1f27b86Scgd.Cd "com3 at ast? slave ?" 47c1f27b86Scgd.Cd "com4 at ast? slave ?" 48c1f27b86Scgd.Cd "com5 at ast? slave ?" 49f72994dbScgd.Sh DESCRIPTION 50f72994dbScgdThe 51f72994dbScgd.Nm ast 52f72994dbScgddriver provides support for boards that multiplex together up to four 53f72994dbScgd.Tn EIA 54f72994dbScgd.Tn RS-232C 55f72994dbScgd.Pf ( Tn CCITT 56f72994dbScgd.Tn V.28 ) 57*d173e865Swizcommunications interfaces. 58*d173e865SwizApparently the original maker of hardware 59f72994dbScgdusing this multiplexing protocol was AST. 60f72994dbScgd.Pp 61f72994dbScgdEach 62f72994dbScgd.Nm 63f72994dbScgddevice is the master device for up to four 64f72994dbScgd.Nm com 65*d173e865Swizdevices. 66*d173e865SwizThe kernel configuration specifies these 67f72994dbScgd.Nm com 68f72994dbScgddevices as slave devices of the 69f72994dbScgd.Nm 70*d173e865Swizdevice, as shown in the synopsis. 71*d173e865SwizThe slave ID given for each 72f72994dbScgd.Nm com 73f72994dbScgddevice determines which bit in the interrupt multiplexing register is 74f72994dbScgdtested to find interrupts for that device. 75461292dfSmycroftThe 76f72994dbScgd.Tn port 77f72994dbScgdspecification for the 78f72994dbScgd.Nm 79461292dfSmycroftdevice is used to compute the base addresses for the 80f72994dbScgd.Nm com 81461292dfSmycroftsubdevices and the port for the interrupt multiplexing register. 82f72994dbScgd.Sh FILES 83f72994dbScgd.Bl -tag -width Pa 84f72994dbScgd.It Pa /dev/tty0? 85f72994dbScgd.El 86f72994dbScgd.Sh SEE ALSO 87f72994dbScgd.Xr com 4 88f72994dbScgd.Sh HISTORY 89f72994dbScgdThe 90f72994dbScgd.Nm 91f72994dbScgddriver was written by Roland McGrath and placed into the public 929ce68c0aSmycroftdomain. 93