xref: /openbsd/share/man/man4/man4.macppc/zs.4 (revision 09467b48)
1.\"	$OpenBSD: zs.4,v 1.8 2015/11/23 10:37:20 mpi Exp $
2.\"
3.\" Copyright (c) 1998 The OpenBSD Project
4.\" All rights reserved.
5.\"
6.\"
7.Dd $Mdocdate: November 23 2015 $
8.Dt ZS 4 macppc
9.Os
10.Sh NAME
11.Nm zs ,
12.Nm zstty
13.Nd Zilog 8530 (ZSCC) serial communications driver
14.Sh SYNOPSIS
15.Cd "zs* at macobio?"
16.Cd "zstty* at zs?"
17.Sh DESCRIPTION
18The
19.Nm
20is a Zilog 8530 serial interface chip used in
21.Tn Sun
22workstations and
23.Tn Apple
24Macintosh systems.
25On most newer Macintosh systems, the first port
26tty00
27is connected to the internal modem.
28The second port is either not connected, or may be connected to
29an IRDA device (untested).
30It is possible to replace the internal modem on some system with
31a real serial port using third party hardware adapters.
32.Pp
33The
34.Nm
35driver supports all of the standard
36.Xr tty 4
37ioctl calls.
38The status of the DTR, RTS, CTS, and DCD signals can be queried with
39TIOCMGET command, but, due to limitations in the hardware,
40only the DTR and RTS signals can be modified with TIOCMSET, TIOCMBIC,
41and TIOCMBIS
42.Xr ioctl 2
43commands.
44.Sh FILES
45.Bl -tag -width Pa -compact
46.It Pa /dev/tty00
47.It Pa /dev/tty01
48.It Pa /dev/cua00
49.It Pa /dev/cua01
50.El
51.Sh SEE ALSO
52.Xr ioctl 2 ,
53.Xr intro 4 ,
54.Xr tty 4
55.Sh HISTORY
56The
57.Nm
58driver first appeared in
59.Bx 4.4 .
60Support for the TIOCM*
61.Xr ioctl 2 Ns s
62appeared in
63.Ox 2.3 .
64.Sh BUGS
65The
66.Nm
67driver now supports cua minor devices, but with this known deficiency
68in the simultaneous outgoing/incoming aspect of the driver:
69The first outgoing connection succeeds, but second and subsequent
70connections fail, apparently due to a getty hang.
71The hung getty apparently prevents the cua device from being re-opened.
72