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