xref: /openbsd-src/share/man/man4/hsq.4 (revision b2ea75c1b17e1a9a339660e7ed45cd24946b230e)
1.\"	$OpenBSD: hsq.4,v 1.8 2001/06/26 02:09:07 pjanzen 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. All advertising materials mentioning features or use of this software
20.\"    must display the following acknowledgement:
21.\"	This product includes software developed by the University of
22.\"	California, Berkeley and its contributors.
23.\" 4. Neither the name of the University nor the names of its contributors
24.\"    may be used to endorse or promote products derived from this software
25.\"    without specific prior written permission.
26.\"
27.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
28.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
31.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37.\" SUCH DAMAGE.
38.\"
39.\"     from: @(#)dca.4	5.2 (Berkeley) 3/27/91
40.\"	from: Id: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp
41.\"
42.Dd March 30, 1994
43.Dt HSQ 4
44.Os
45.Sh NAME
46.Nm hsq
47.Nd multiplexing serial communications interface
48.Sh SYNOPSIS
49.Cd "hsq0 at isa? port 0x140 irq 10"
50.Cd "pccom* at hsq? slave ?"
51.Sh DESCRIPTION
52The
53.Nm
54driver provides support for Hostess (Comtrol Corporation,
55www.comtrol.com) and compatible boards that multiplex together
56up to four
57.Tn EIA
58.Tn RS-232C
59.Pf ( Tn CCITT
60.Tn V.28 )
61communications interfaces.
62.Pp
63Each
64.Nm
65device is the master device for up to four
66.Nm pccom
67devices.  The kernel configuration specifies these
68.Nm pccom
69devices as slave devices of the
70.Nm
71device, as shown in the synopsis.  The slave ID given for each
72.Nm pccom
73device determines which bit in the interrupt multiplexing register is
74tested to find interrupts for that device.
75The
76.Tn port
77specification for the
78.Nm
79device is used to compute the base addresses for the
80.Nm pccom
81subdevices (they are equal to
82.Tn port
83+ ID * 8) and the port for the interrupt multiplexing register
84(it is equal to
85.Tn port
86+ 7). More technical details on how the driver works can be found in
87the big comment at the beginning of the driver's source code.
88.Pp
89Information on setup of card's configuration switches should be taken
90from Comtrol Corporation's web site, since the author wrote and tested
91the driver only with Hostess-compatible cards.
92.Sh FILES
93.Bl -tag -width Pa
94.It Pa /dev/tty0?
95.It Pa /dev/cua0?
96.El
97.Sh SEE ALSO
98.Xr pccom 4
99.Sh HISTORY
100The
101.Nm
102driver was written by Denis A. Doroshenko based on
103.Xr ast 4
104driver.
105