1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
.\" $OpenBSD: zs.4,v 1.7 2001/06/23 07:04:21 pjanzen Exp $
.\"
.\" Copyright (c) 1998 The OpenBSD Project
.\" All rights reserved.
.\"
.\"
.Dd March 4, 1998
.Dt ZS 4 sparc
.Os
.Sh NAME
.Nm zs
.Nd Zilog 8530 (ZSCC) serial communications driver
.Sh SYNOPSIS
.Cd "zs0 at mainbus0 " Pq sun4c
.Cd "zs0 at obio0 " Pq sun4m
.Cd "zs0 at obio0 addr 0xf1000000 level 12 flags 0x103" Pq sun4/[23]00
.Cd "zs0 at obio0 addr 0x01000000 level 12 flags 0x103" Pq sun4/100
.Cd "zs1 at mainbus0 " Pq sun4c
.Cd "zs1 at obio0 " Pq sun4m
.Cd "zs1 at obio0 addr 0xf0000000 level 12 flags 0x103" Pq sun4/[23]00
.Cd "zs1 at obio0 addr 0x00000000 level 12 flags 0x103" Pq sun4/100
.Cd "zs2 at obio0 addr 0xe0000000 level 12 flags 0x103" Pq sun4/300
.Sh DESCRIPTION
The
.Nm
is a Zilog 8530 serial interface chip used in Sun workstations.
The Zilog 8530 provides two input/output channels per instance.
Most Sun workstations include two of these interfaces. One of the
interfaces is hardwired for use by the keyboard and mouse attached to
the workstation console.
The remaining additional
.Nm
interfaces provide RS-423
and RS-232 serial ports for general purpose use.
.Pp
The
.Nm
driver supports all of the standard
.Xr tty 4
ioctl calls.
The status of the DTR, RTS, CTS, and DCD signals can be queried with
TIOCMGET command, but, due to limitations in the hardware,
only the DTR and RTS signals can be modified with TIOCMSET, TIOCMBIC,
and TIOCMBIS
.Xr ioctl 2
commands.
.Sh BUGS
The
.Nm
driver now supports cua minor devices, but with this known deficiency
in the simultaneous outgoing/incoming aspect of the driver:
The first outgoing connection succeeds, but second and subsequent
connections fail, apparently due to a getty hang. The hung getty apparently
prevents the cua device from being re-opened.
.Sh SEE ALSO
.Xr ioctl 2 ,
.Xr kbd 4 ,
.Xr ms 4 ,
.Xr tty 4
.Sh HISTORY
The
.Nm
driver first appeared in
.Bx 4.4 .
Support for the TIOCM*
.Xr ioctl 2 Ns s
appeared in
.Ox 2.3 .
|