peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
dfr
1d5f38ac22
This commit fixes various 64bit portability problems required for
...
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.
The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
1998-06-07 17:13:14 +00:00
bde
6c18b55140
Don't depend on "implicit int".
1998-02-25 06:16:37 +00:00
steve
c0db3d8218
Fix a couple of operator precedence bugs.
...
PR: 5450
Submitted by: Sakari Jalovaara <sja@tekla.fi>
1998-01-25 17:25:41 +00:00
eivind
01dd6091ed
Make COMPAT_43 and COMPAT_SUNOS new-style options.
1997-12-16 17:40:42 +00:00
bde
e868842f11
Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that are
...
not handled at a particular level. This fixes mainly restarting
of interrupted TIOCDRAINs and TIOCSETA{W,F}s.
1997-12-06 13:25:01 +00:00
bde
9195bd1ec7
Removed unused #includes.
1997-08-02 14:33:27 +00:00
bde
000a68175f
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
94b6d72794
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
jkh
808a36ef65
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
phk
63ec2c0ae9
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
bde
c8a9e0e378
Improved formatting.
...
Added a comment about possibly better handling of INPCK.
Added a prototype.
1995-11-18 11:07:00 +00:00
ache
2fcbb0e592
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
ache
a3dede9354
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
ache
aa6b65d135
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
ache
caec2f2ae9
Check for valid speeds in TIOCSET* and return EINVAL for incorrect
...
values instead of setting garbadge.
1995-08-01 23:27:36 +00:00
rgrimes
c86f0c7a71
Remove trailing whitespace.
1995-05-30 08:16:23 +00:00
ache
a569d0b92c
Extract "set" family functions to separate module, needed for
...
locking in sio f.e.
1995-04-11 17:54:25 +00:00
ache
91b1b6003f
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
ache
6aac130fa4
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
ache
c32d1c8a89
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
ache
c2410908fe
c_iflag handling in setting compat modes now more close to V7
1995-03-29 19:50:58 +00:00
ache
2126872294
Better IXANY/IXOFF processing into setflags.
...
Cosmetique 'tab' fix
1994-10-11 20:29:42 +00:00
ache
7d96472389
Fix old cs8->cs7 bug, bringed by rlogin.
...
Obtained from: FreeBSD 1.x
1994-10-11 20:04:49 +00:00
phk
5f8e9e2c4d
Cosmetics: added ()'s and fixed prinf-formats to make gcc silent.
1994-10-08 22:33:43 +00:00
bde
429bde1b5f
Support speeds 57600 and 115200.
...
Privatize functions.
1994-08-25 10:01:00 +00:00
dg
8d205697aa
Added $Id$
1994-08-02 07:55:43 +00:00
rgrimes
2469c867a1
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
rgrimes
8fb65ce818
BSD 4.4 Lite Kernel Sources
1994-05-24 10:09:53 +00:00