summaryrefslogtreecommitdiff
path: root/share/man/man4/man4.macppc/zs.4
blob: 3349dea76a8c187aa1eb0f830f52cb8e483c78ff (plain)
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
.\"	$OpenBSD: zs.4,v 1.1 2001/10/03 04:32:37 drahn Exp $
.\"
.\" Copyright (c) 1998 The OpenBSD Project
.\" All rights reserved.
.\"
.\"
.Dd Oct 1, 2001
.Dt ZS 4 macppc
.Os
.Sh NAME
.Nm zs
.Nd Zilog 8530 (ZSCC) serial communications driver
.Sh SYNOPSIS
.Cd "zsc0 at macobio0 irq X,Y"
.Cd "zstty0 at zsc0 channel 0"
.Cd "zstty1 at zsc0 channel 1"
.Sh DESCRIPTION
The
.Nm
is a Zilog 8530 serial interface chip used in Sun workstations and
Apple Macintosh systems.
Most newer Macintosh systems the first port
tty00
is connected to the internal modem.
The second port is either not connected, or may be connected to
a IRDA device (untested).
It is possible to replace the internal modem on some system with
a real serial port using third party hardware adapters.
.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 FILES
.Bl -tag -width Pa -compact
.It Pa /dev/tty00
.It Pa /dev/tty01
.It Pa /dev/cua00
.It Pa /dev/cua01
.El
.Sh SEE ALSO
.Xr ioctl 2 ,
.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 .