freebsd-nq/sys/isa
Bruce Evans f3b37f91c1 Improve input flow control.
Use input buffer watermarks of TTYHOG-512 (high) and (high)*7/8
(low) instead of TTYHOG/2 (high) and TTYHOG/5 (low) to agree with
some drivers.  512 is magic and some things depended on TTYHOG/2
>= TTYHOG-512 to work; now they depend on the 512 magic not changing
and TTYHOG-512 being significantly larger than 0.  This should be
handled in ttsetwater().

Separate the decision about whether to do input flow control from
doing it.  ttyblock() now just starts input flow control (hardware
and/or software) and there is a new function ttyunblock() to stop
it.  The decisions are the same except for the watermark changes
and allowing for input expansion for PARMRK.

When flushing input, try harder at first to send a start character
if required, but give up if the first attempt fails.

cy.c, rc.c, sio.c:
Simplify: let ttyinput() handle input flow control if it is not
being bypassed.  Use ttyblock() to start flow control otherwise.

rc.c:
Use same input flow control test as elsewhere: test in a more
efficient order and start flow control at >= highwater instead of
at > highwater.
1995-07-31 18:29:51 +00:00
..
ic Peter's work to work around one of the most annoying bugs in the 1995-01-06 15:20:00 +00:00
atrtc.c Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
fd.c Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
fdc.h Peter's work to work around one of the most annoying bugs in the 1995-01-06 15:20:00 +00:00
fdreg.h An ifdef almost hit where it was supposed to go. Joerg owes me a good 1994-09-25 23:37:38 +00:00
joy.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kbdtables.h Change fkey 63 from ^[[K to ^[[~. 1995-03-28 21:30:13 +00:00
rtc.h Here is a minor patch for FreeBSD 2.0R to allow it to recognize 1994-12-04 20:22:20 +00:00
sio.c Improve input flow control. 1995-07-31 18:29:51 +00:00
sioreg.h Submitted by: Bill Paul (wpaul@ctr.columbia.edu) 1995-01-20 07:34:18 +00:00
syscons.c Move the inline code for waking up writers to a new function 1995-07-22 01:30:45 +00:00
syscons.h Fix races in scstart(). q_to_b() wasn't called at spltty(), so there 1995-07-11 18:34:30 +00:00
timerreg.h Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 13:48:52 +00:00