ZS(4)                OpenBSD Programmer's Manual (MacPPC)                ZS(4)

NAME
     zs - Zilog 8530 (ZSCC) serial communications driver

SYNOPSIS
     zsc0 at macobio0 irq X,Y
     zstty0 at zsc0 channel 0
     zstty1 at zsc0 channel 1

DESCRIPTION
     The zs 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 possi-
     ble to replace the internal modem on some system with a real serial port
     using third party hardware adapters.

     The zs driver supports all of the standard tty(4) ioctl calls.  The sta-
     tus 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 ioctl(2)
     commands.

BUGS
     The zs driver now supports cua minor devices, but with this known defi-
     ciency 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.

FILES
     /dev/tty00
     /dev/tty01
     /dev/cua00
     /dev/cua01

SEE ALSO
     ioctl(2), tty(4)

HISTORY
     The zs driver first appeared in 4.4BSD. Support for the TIOCM* ioctl(2)s
     appeared in OpenBSD 2.3.

OpenBSD 3.0                       Oct 1, 2001                                1
