1.\" $OpenBSD: rtfps.4,v 1.8 2003/08/31 19:53:42 jmc 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 August 7, 1994 37.Dt RTFPS 4 38.Os 39.Sh NAME 40.Nm rtfps 41.Nd multiplexing serial communications interface 42.Sh SYNOPSIS 43.Cd "rtfps0 at isa? port 0x1230 irq 10" 44.Cd "com* at rtfps? slave ?" 45or 46.Cd "pccom* at rtfps? slave ?" 47.Sh DESCRIPTION 48The 49.Nm 50driver provides support for IBM RT PC boards that multiplex together up to four 51.Rn EIA 52.Tn RS-232C 53.Pf ( Tn CCITT 54.Tn V.28 ) 55or 56.Tn RS-422A 57communications interfaces. 58.Pp 59Each 60.Nm 61device is the master device for up to four 62.Nm com 63devices. 64The kernel configuration specifies these 65.Nm com 66devices as slave devices of the 67.Nm 68device, as shown in 69.Sx SYNOPSIS . 70The 71.Tn port 72specification for the 73.Nm 74device is used to compute the base addresses for the 75.Nm com 76subdevices. 77.Sh FILES 78.Bl -tag -width Pa 79.It Pa /dev/tty0? 80.El 81.Sh SEE ALSO 82.Xr com 4 , 83.Xr intro 4 , 84.Xr isa 4 85.Sh HISTORY 86The 87.Nm 88driver was written by Charles Hannum, based on the 89.Nm ast 90driver. 91.Sh BUGS 92The 93.Nm 94driver is unlikely to work on non-PCI machines. 95The ISA bus only asserts 10 I/O address lines, and this is not enough. 96.Pp 97Even on PCI machines, some address conflicts have been observed. 98On one machine, the second port always conflicted with something (though 99it's not clear what) and caused strange results. 100Disabling the second port in the kernel config allowed the other three 101ports to function correctly. 102