Article View: comp.sys.sun
Article #13041Re: rts/cts flow control
From: Jeff Stearns
Date: Thu, 18 May 1989 20:05
Date: Thu, 18 May 1989 20:05
57 lines
3129 bytes
3129 bytes
In article <338@proton.UUCP> proton!nusbaum@ucsd.edu (R. James Nusbaum)
writes:
: Do Sun 3s support rts/cts flow control on the built in serial ports? The
: manuals seem to suggest that they don't (they tell you to enable xon/xoff
: and loop back the rts/cts wires), but there is an undocumented switch to
: stty, crtscts, that probably is meant to turn the hardware flow control on
: and off.
The following is extracted from the 4.0.1 manual. I have elided some
paragraphs for brevity. If you do upgrade, be sure to install the "Serial
Port Patch Tape" before proceeding.
ZS(4S) DEVICES AND NETWORK INTERFACES ZS(4S)
NAME
zs - Zilog 8530 SCC serial communications driver
DESCRIPTION
The Zilog 8530 provides 2 serial communication ports with
full modem control in asynchronous mode. Each port supports
those termio(4) device control functions specified by flags
in the c_cflag word of the termios structure and by the
IGNBRK, IGNPAR, PARMRK, or INPCK flags in the c_iflag word
of the termios structure are performed by the zs driver.
Of the synopsis lines above, the line for zs0 specifies the
serial I/O port(s) provided by the CPU board, the line for
zs1 specifies the Video Board ports (which are used for key-
board and mouse), the lines for zs2 and zs3 specify the
first and second ports on the first SCSI board in a system,
and those for zs4 and zs5 specify the first and second ports
provided by the second SCSI board in a system, respectively.
Bit i of flags may be specified to say that a line is not
properly connected, and that the line i should be treated as
hard-wired with carrier always present. Thus specifying
flags 0x2 in the specification of zs0 would treat line
/dev/ttyb in this way.
IOCTLS
The standard set of termio ioctl() calls are supported by
zs.
If the CRTSCTS flag in the c_cflag is set, output will be
generated only if CTS is high; if CTS is low, output will be
frozen. If the CRTSCTS flag is clear, the state of CTS has
no effect. Breaks can be generated by the TCSBRK, TIOCSBRK,
and TIOCCBRK ioctl() calls. The modem control lines
TIOCM_CAR, TIOCM_CTS, TIOCM_RTS, and TIOCM_DTR are provided.
Jeff Stearns John Fluke Mfg. Co, Inc. (206) 356-5064
jeff@tc.fluke.COM {uw-beaver,microsoft,sun}!fluke!jeff
PS - Calling all users of the Vitalink TransLAN IV Ethernet bridge! Please
drop me a line.
Technical Details
Message-ID:
<8386@fluke.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-requestReferences:
<338@proton.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: jeff@tc.fluke.com (Jeff Stearns) Newsgroups: comp.sys.sun Subject: Re: rts/cts flow control Keywords: Hardware Message-ID: <8386@fluke.COM> Date: 18 May 89 20:05:19 GMT References: <338@proton.UUCP> Sender: usenet@rice.edu Organization: John Fluke Mfg. Co., Inc., Everett, WA Lines: 57 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 7, Issue 303, message 9 of 12