1.\" $OpenBSD: hsq.4,v 1.18 2018/01/03 08:43:09 bentley Exp $ 2.\" from: OpenBSD: ast.4,v 1.5 1999/07/09 13:35:43 aaron Exp 3.\" from: NetBSD: ast.4,v 1.7 1996/03/16 00:07:07 thorpej Exp 4.\" 5.\" Copyright (c) 1990, 1991 The Regents of the University of California. 6.\" All rights reserved. 7.\" 8.\" This code is derived from software contributed to Berkeley by 9.\" the Systems Programming Group of the University of Utah Computer 10.\" Science Department. 11.\" Redistribution and use in source and binary forms, with or without 12.\" modification, are permitted provided that the following conditions 13.\" are met: 14.\" 1. Redistributions of source code must retain the above copyright 15.\" notice, this list of conditions and the following disclaimer. 16.\" 2. Redistributions in binary form must reproduce the above copyright 17.\" notice, this list of conditions and the following disclaimer in the 18.\" documentation and/or other materials provided with the distribution. 19.\" 3. Neither the name of the University nor the names of its contributors 20.\" may be used to endorse or promote products derived from this software 21.\" without specific prior written permission. 22.\" 23.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 24.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 27.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33.\" SUCH DAMAGE. 34.\" 35.\" from: @(#)dca.4 5.2 (Berkeley) 3/27/91 36.\" from: Id: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp 37.\" 38.Dd $Mdocdate: January 3 2018 $ 39.Dt HSQ 4 40.Os 41.Sh NAME 42.Nm hsq 43.Nd multiplexing serial communications interface 44.Sh SYNOPSIS 45.Cd "hsq0 at isa? port 0x140 irq 10" 46.Cd "com* at hsq?" 47.Sh DESCRIPTION 48The 49.Nm 50driver provides support for Hostess 51.Pq Lk https://www.comtrol.com/ "Comtrol Corporation" 52and compatible boards that multiplex together up to four 53.Tn EIA 54.Tn RS-232C 55.Pq Tn CCITT V.28 56communications interfaces. 57.Pp 58Each 59.Nm 60device is the master device for up to four 61.Nm com 62devices. 63The kernel configuration specifies these 64.Nm com 65devices as slave devices of the 66.Nm 67device, as shown in 68.Sx SYNOPSIS . 69The slave ID given for each 70.Nm com 71device determines which bit in the interrupt multiplexing register is 72tested to find interrupts for that device. 73The 74.Cd port 75specification for the 76.Nm 77device is used to compute the base addresses for the 78.Nm com 79subdevices (they are equal to port + ID * 8) and the port for 80the interrupt multiplexing register (it is equal to port + 7). 81More technical details on how the driver works can be found in 82the big comment at the beginning of the driver's source code. 83.Pp 84Information on setup of card's configuration switches should be taken 85from Comtrol Corporation's web site, since the author wrote and tested 86the driver only with Hostess-compatible cards. 87.Sh FILES 88.Bl -tag -width Pa -compact 89.It Pa /dev/tty0? 90.It Pa /dev/cua0? 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 Denis A. Doroshenko 101based on the 102.Xr ast 4 103driver. 104