1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00
freebsd/sys/i386
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
..
apm Don't include <sys/tty.h> in drivers that aren't tty drivers or in general 1995-07-16 10:13:08 +00:00
bios Don't include <sys/tty.h> in drivers that aren't tty drivers or in general 1995-07-16 10:13:08 +00:00
boot Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
conf Support for voxware 3.05. 1995-07-28 22:25:52 +00:00
eisa First step of fixing the remaining sloppy common-style declarations. 1995-07-25 15:53:11 +00:00
i386 Fix a bug in my disabled version of trap_pfault()...curpcb may be NULL even 1995-07-30 17:49:24 +00:00
ibcs2 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
include Merge in changes for VOXWARE 3.05 1995-07-28 22:30:53 +00:00
isa Improve input flow control. 1995-07-31 18:29:51 +00:00
linux First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
pci The PCI config mechanism 1 test failed for the Intel Aries. 1995-06-30 16:11:42 +00:00
scsi Long overdue, more complete, reset code. These changes implement a 1995-07-31 08:25:36 +00:00
Makefile Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some 1993-10-16 19:17:18 +00:00