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