Bruce Evans
1fd0b0588f
Removed unused #includes.
1997-08-02 14:33:27 +00:00
Bruce Evans
afd2f6c218
Don't include <sys/ioctl.h> in the kernel. Stage 5: include
...
<sys/ioctl_compat.h> and sometimes <sys/filio.h> instead of
<sys/ioctl.h> in tty-related files. <sys/ttycom.h> is still
usually imported bogusly via <sys/termios.h>.
1997-03-24 12:03:06 +00:00
Peter Wemm
6875d25465
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not
...
ready for it yet.
1997-02-22 09:48:43 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Poul-Henning Kamp
87b6de2b76
A Major staticize sweep. Generates a couple of warnings that I'll deal
...
with later.
A number of unused vars removed.
A number of unused procs removed or #ifdefed.
1995-12-14 08:32:45 +00:00
Bruce Evans
3b9a76f03c
Improved formatting.
...
Added a comment about possibly better handling of INPCK.
Added a prototype.
1995-11-18 11:07:00 +00:00
Andrey A. Chernov
e581051d3d
Preserve current termios speed for TIOCSET*, if it matched with
...
nearest valid. It means that gtty+stty transaction (without speed
change) not breaks non-standard speeds now.
1995-08-02 12:53:14 +00:00
Andrey A. Chernov
4e5f73581c
Better approximation for TIOCGETP (gtty) for non-standard speeds.
...
Old variant returns 38400 for them, now it returns nearest matched
rounded down, expect speeds in range 0 > speed < 50 rounded up
to not produce hangup.
1995-08-02 12:03:12 +00:00
Andrey A. Chernov
af2a00bbbc
Check for valid speed values in pty drive
...
Check for negative speed values in tty drive
Back out valid speed values checking from tty drive
Suggested by: bde
1995-08-02 06:55:36 +00:00
Andrey A. Chernov
7a82fc7855
Check for valid speeds in TIOCSET* and return EINVAL for incorrect
...
values instead of setting garbadge.
1995-08-01 23:27:36 +00:00
Rodney W. Grimes
9b2e535452
Remove trailing whitespace.
1995-05-30 08:16:23 +00:00
Andrey A. Chernov
0a247e7d30
Extract "set" family functions to separate module, needed for
...
locking in sio f.e.
1995-04-11 17:54:25 +00:00
Andrey A. Chernov
efb76ea60f
Back out changes related to locked bits until more elegant solution will be
...
found. Fix flags declarations.
1995-04-02 19:26:50 +00:00
Andrey A. Chernov
c6345bc1b6
Fix error in TIOCSETC/TIOCSLTC, they need to call TIOCSETA.
...
Remove static from some functions, needed in sio (later)
1995-04-02 04:15:08 +00:00
Andrey A. Chernov
1ef5e50eee
Return EINVAL instead of setting wrong in/out speed
...
Fix declaration of cc arrays
Remove static from compatspcodes, will needed in sio (later)
1995-04-02 03:51:53 +00:00
Andrey A. Chernov
f1e302d4cc
c_iflag handling in setting compat modes now more close to V7
1995-03-29 19:50:58 +00:00
Andrey A. Chernov
220553025d
Better IXANY/IXOFF processing into setflags.
...
Cosmetique 'tab' fix
1994-10-11 20:29:42 +00:00
Andrey A. Chernov
dec3cc9756
Fix old cs8->cs7 bug, bringed by rlogin.
...
Obtained from: FreeBSD 1.x
1994-10-11 20:04:49 +00:00
Poul-Henning Kamp
dcd01eb305
Cosmetics: added ()'s and fixed prinf-formats to make gcc silent.
1994-10-08 22:33:43 +00:00
Bruce Evans
5b96a5b90d
Support speeds 57600 and 115200.
...
Privatize functions.
1994-08-25 10:01:00 +00:00
David Greenman
3c4dd3568f
Added $Id$
1994-08-02 07:55:43 +00:00
Rodney W. Grimes
26f9a76710
The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.
...
Reviewed by: Rodney W. Grimes
Submitted by: John Dyson and David Greenman
1994-05-25 09:21:21 +00:00
Rodney W. Grimes
df8bae1de4
BSD 4.4 Lite Kernel Sources
1994-05-24 10:09:53 +00:00