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

NAME
     zs - Zilog 8530 (ZSCC) serial communications driver

SYNOPSIS
     zs0 at mainbus0                                   (sun4c)
     zs0 at obio0                                      (sun4m)
     zs0 at obio0 addr 0xf1000000 level 12 flags 0x103 (sun4/[23]00)
     zs0 at obio0 addr 0x01000000 level 12 flags 0x103 (sun4/100)
     zs1 at mainbus0                                   (sun4c)
     zs1 at obio0                                      (sun4m)
     zs1 at obio0 addr 0xf0000000 level 12 flags 0x103 (sun4/[23]00)
     zs1 at obio0 addr 0x00000000 level 12 flags 0x103 (sun4/100)
     zs2 at obio0 addr 0xe0000000 level 12 flags 0x103 (sun4/300)

DESCRIPTION
     The zs 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 zs interfaces provide RS-423 and
     RS-232 serial ports for general purpose use.

     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.

SEE ALSO
     ioctl(2), kbd(4), ms(4), 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                      March 4, 1998                               1
