1.\" $OpenBSD: boca.4,v 1.5 2001/06/22 12:15:44 mpech 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 multiplexing serial communications interface 46.Sh SYNOPSIS 47For 4-port BB1004 boards: 48.Pp 49.Cd "boca0 at isa? port 0x100 irq 5" 50.Cd "com* at boca? slave ?" 51.Pp 52For 8-port BB1008 boards: 53.Pp 54.Cd "boca0 at isa? port 0x100 irq 5" 55.Cd "com* at boca? slave ?" 56.Pp 57For 16-port BB2016 boards: 58.Pp 59.Cd "boca0 at isa? port 0x100 irq 5" 60.Cd "boca1 at isa? port 0x140 irq 5" 61.Cd "com* at boca? slave ?" 62.Pp 63(The BB2016 is functionally equivalent to two BB1008 boards, 64and is configured as such.) 65.Sh DESCRIPTION 66The 67.Nm 68driver provides support for BOCA Research BB1004, BB1008, and BB2016 69boards that multiplex together up to four, eight, or sixteen 70.Tn EIA 71.Tn RS-232C 72.Pf ( Tn CCITT 73.Tn V.28 ) 74communications interfaces. 75.Pp 76Each 77.Nm 78device is the master device for up to eight 79.Nm com 80devices. 81The kernel configuration specifies these 82.Nm com 83devices as slave devices of the 84.Nm 85device, as shown in the synopsis. 86The slave ID given for each 87.Nm com 88device determines which bit in the interrupt multiplexing register is 89tested to find interrupts for that device. 90The 91.Tn port 92specification for the 93.Nm 94device is used to compute the base addresses for the 95.Nm com 96subdevices and the port for the interrupt multiplexing register. 97.Sh FILES 98.Bl -tag -width Pa 99.It Pa /dev/tty?? 100.El 101.Sh SEE ALSO 102.Xr com 4 103.Sh HISTORY 104The 105.Nm 106driver was written by Charles Hannum, based on the 107.Nm ast 108driver and source code from David Muir Sharnoff. 109David wishes to acknowledge the assistance of Jason Venner in determining 110how to use the BOCA boards. 111