xref: /openbsd/share/man/man4/boca.4 (revision a6445c1d)
1.\"	$OpenBSD: boca.4,v 1.12 2014/02/20 17:56:35 schwarze 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. Neither the name of the University nor the names of its contributors
18.\"    may be used to endorse or promote products derived from this software
19.\"    without specific prior written permission.
20.\"
21.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
22.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
25.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE.
32.\"
33.\"     from: @(#)dca.4	5.2 (Berkeley) 3/27/91
34.\"	from: Id: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp
35.\"
36.Dd $Mdocdate: February 20 2014 $
37.Dt BOCA 4
38.Os
39.Sh NAME
40.Nm boca
41.Nd multiplexing serial communications interface
42.Sh SYNOPSIS
43For 4-port BB1004 boards and 8-port BB1008 boards:
44.Pp
45.Cd "boca0 at isa? port 0x100 irq 5"
46.Cd "com* at boca?"
47.Pp
48For 16-port BB2016 boards:
49.Pp
50.Cd "boca0 at isa? port 0x100 irq 5"
51.Cd "boca1 at isa? port 0x140 irq 5"
52.Cd "com* at boca?"
53.Pp
54(The BB2016 is functionally equivalent to two BB1008 boards,
55and is configured as such.)
56.Sh DESCRIPTION
57The
58.Nm
59driver provides support for BOCA Research BB1004, BB1008, and BB2016
60boards that multiplex together up to four, eight, or sixteen
61.Tn EIA
62.Tn RS-232C
63.Pq Tn CCITT V.28
64communications interfaces.
65.Pp
66Each
67.Nm
68device is the master device for up to eight
69.Nm com
70devices.
71The kernel configuration specifies these
72.Nm com
73devices as slave devices of the
74.Nm
75device, as shown in
76.Sx SYNOPSIS .
77The slave ID given for each
78.Nm com
79device determines which bit in the interrupt multiplexing register is
80tested to find interrupts for that device.
81The
82.Cd port
83specification for the
84.Nm
85device is used to compute the base addresses for the
86.Nm com
87subdevices and the port for the interrupt multiplexing register.
88.Sh FILES
89.Bl -tag -width Pa
90.It Pa /dev/tty??
91.El
92.Sh SEE ALSO
93.Xr com 4 ,
94.Xr intro 4 ,
95.Xr isa 4
96.Sh HISTORY
97The
98.Nm
99driver was written by
100.An Charles Hannum ,
101based on the
102.Nm ast
103driver and source code from
104.An David Muir Sharnoff .
105David wishes to acknowledge the assistance of
106.An Jason Venner
107in determining how to use the BOCA boards.
108