xref: /openbsd-src/share/man/man4/boca.4 (revision 2b0358df1d88d06ef4139321dd05bd5e05d91eaf)
1.\"	$OpenBSD: boca.4,v 1.11 2008/05/21 19:05:51 kettenis 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: May 21 2008 $
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.Pf ( Tn CCITT
64.Tn V.28 )
65communications interfaces.
66.Pp
67Each
68.Nm
69device is the master device for up to eight
70.Nm com
71devices.
72The kernel configuration specifies these
73.Nm com
74devices as slave devices of the
75.Nm
76device, as shown in
77.Sx SYNOPSIS .
78The slave ID given for each
79.Nm com
80device determines which bit in the interrupt multiplexing register is
81tested to find interrupts for that device.
82The
83.Tn port
84specification for the
85.Nm
86device is used to compute the base addresses for the
87.Nm com
88subdevices and the port for the interrupt multiplexing register.
89.Sh FILES
90.Bl -tag -width Pa
91.It Pa /dev/tty??
92.El
93.Sh SEE ALSO
94.Xr com 4 ,
95.Xr intro 4 ,
96.Xr isa 4
97.Sh HISTORY
98The
99.Nm
100driver was written by Charles Hannum, based on the
101.Nm ast
102driver and source code from David Muir Sharnoff.
103David wishes to acknowledge the assistance of Jason Venner in determining
104how to use the BOCA boards.
105