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