1.\" $NetBSD: boca.4,v 1.4 2001/09/11 17:54:20 wiz Exp $ 2.\" 3.\" Copyright (c) 1990, 1991 The Regents of the University of California. 4.\" All rights reserved. 5.\" 6.\" This code is derived from software contributed to Berkeley by 7.\" the Systems Programming Group of the University of Utah Computer 8.\" Science Department. 9.\" Redistribution and use in source and binary forms, with or without 10.\" modification, are permitted provided that the following conditions 11.\" are met: 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in the 16.\" documentation and/or other materials provided with the distribution. 17.\" 3. All advertising materials mentioning features or use of this software 18.\" must display the following acknowledgement: 19.\" This product includes software developed by the University of 20.\" California, Berkeley and its contributors. 21.\" 4. Neither the name of the University nor the names of its contributors 22.\" may be used to endorse or promote products derived from this software 23.\" without specific prior written permission. 24.\" 25.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 26.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 28.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 29.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35.\" SUCH DAMAGE. 36.\" 37.\" from: @(#)dca.4 5.2 (Berkeley) 3/27/91 38.\" from: Id: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp 39.\" 40.Dd January 3, 1995 41.Dt BOCA 4 42.Os 43.Sh NAME 44.Nm boca 45.Nd 46multiplexing serial communications interface 47.Sh SYNOPSIS 48For 4-port BB1004 boards: 49.Pp 50.Cd "boca0 at isa? port 0x100 irq 5" 51.Cd "com2 at boca? slave ?" 52.Cd "com3 at boca? slave ?" 53.Cd "com4 at boca? slave ?" 54.Cd "com5 at boca? slave ?" 55.Pp 56For 8-port BB1008 boards: 57.Pp 58.Cd "boca0 at isa? port 0x100 irq 5" 59.Cd "com2 at boca? slave ?" 60.Cd "com3 at boca? slave ?" 61.Cd "com4 at boca? slave ?" 62.Cd "com5 at boca? slave ?" 63.Cd "com6 at boca? slave ?" 64.Cd "com7 at boca? slave ?" 65.Cd "com8 at boca? slave ?" 66.Cd "com9 at boca? slave ?" 67.Pp 68For 16-port BB2016 boards: 69.Pp 70.Cd "boca0 at isa? port 0x100 irq 5" 71.Cd "com2 at boca? slave ?" 72.Cd "com3 at boca? slave ?" 73.Cd "com4 at boca? slave ?" 74.Cd "com5 at boca? slave ?" 75.Cd "com6 at boca? slave ?" 76.Cd "com7 at boca? slave ?" 77.Cd "com8 at boca? slave ?" 78.Cd "com9 at boca? slave ?" 79.Cd "boca1 at isa? port 0x140 irq 5" 80.Cd "com10 at boca? slave ?" 81.Cd "com11 at boca? slave ?" 82.Cd "com12 at boca? slave ?" 83.Cd "com13 at boca? slave ?" 84.Cd "com14 at boca? slave ?" 85.Cd "com15 at boca? slave ?" 86.Cd "com16 at boca? slave ?" 87.Cd "com17 at boca? slave ?" 88.Pp 89(The BB2016 is functionally equivalent to two BB1008 boards, 90and is configured as such.) 91.Sh DESCRIPTION 92The 93.Nm boca 94driver provides support for BOCA Research BB1004, BB1008 and BB2016 95boards that multiplex together up to four, eight or sixteen 96.Tn EIA 97.Tn RS-232C 98.Pf ( Tn CCITT 99.Tn V.28 ) 100communications interfaces. 101.Pp 102Each 103.Nm 104device is the master device for up to eight 105.Nm com 106devices. The kernel configuration specifies these 107.Nm com 108devices as slave devices of the 109.Nm 110device, as shown in the synopsis. The slave ID given for each 111.Nm com 112device determines which bit in the interrupt multiplexing register is 113tested to find interrupts for that device. 114The 115.Tn port 116specification for the 117.Nm 118device is used to compute the base addresses for the 119.Nm com 120subdevices and the port for the interrupt multiplexing register. 121.Sh FILES 122.Bl -tag -width Pa 123.It Pa /dev/tty?? 124.El 125.Sh SEE ALSO 126.Xr com 4 127.Sh HISTORY 128The 129.Nm 130driver was written by Charles Hannum, based on the 131.Nm ast 132driver and source code from David Muir Sharnoff. David wishes to 133acknowledge the assistance of Jason Venner in determining how to use 134the BOCA boards. 135