summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_compat.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed some style bugs in the removal of __P(()). The main ones werebde2002-03-241-4/+4
| | | | | | not removing tabs before "__P((", and not outdenting continuation lines to preserve non-KNF lining up of code with parentheses. Switch to KNF formatting and/or rewrap the whole prototype in some cases.
* Remove __P.alfred2002-03-191-4/+4
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* This commit fixes various 64bit portability problems required fordfr1998-06-071-3/+3
| | | | | | | | | | 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.
* Don't depend on "implicit int".bde1998-02-251-4/+4
|
* Fix a couple of operator precedence bugs.steve1998-01-251-3/+3
| | | | | PR: 5450 Submitted by: Sakari Jalovaara <sja@tekla.fi>
* Make COMPAT_43 and COMPAT_SUNOS new-style options.eivind1997-12-161-1/+3
|
* Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that arebde1997-12-061-2/+2
| | | | | not handled at a particular level. This fixes mainly restarting of interrupted TIOCDRAINs and TIOCSETA{W,F}s.
* Removed unused #includes.bde1997-08-021-6/+1
|
* Don't include <sys/ioctl.h> in the kernel. Stage 5: includebde1997-03-241-2/+2
| | | | | | <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>.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* A Major staticize sweep. Generates a couple of warnings that I'll dealphk1995-12-141-2/+4
| | | | | | with later. A number of unused vars removed. A number of unused procs removed or #ifdefed.
* Improved formatting.bde1995-11-181-5/+8
| | | | | | Added a comment about possibly better handling of INPCK. Added a prototype.
* Preserve current termios speed for TIOCSET*, if it matched withache1995-08-021-3/+7
| | | | | nearest valid. It means that gtty+stty transaction (without speed change) not breaks non-standard speeds now.
* Better approximation for TIOCGETP (gtty) for non-standard speeds.ache1995-08-021-9/+18
| | | | | | 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.
* Check for valid speed values in pty driveache1995-08-021-4/+7
| | | | | | Check for negative speed values in tty drive Back out valid speed values checking from tty drive Suggested by: bde
* Check for valid speeds in TIOCSET* and return EINVAL for incorrectache1995-08-011-7/+4
| | | | values instead of setting garbadge.
* Remove trailing whitespace.rgrimes1995-05-301-9/+9
|
* Extract "set" family functions to separate module, needed forache1995-04-111-70/+90
| | | | locking in sio f.e.
* Back out changes related to locked bits until more elegant solution will beache1995-04-021-20/+20
| | | | found. Fix flags declarations.
* Fix error in TIOCSETC/TIOCSLTC, they need to call TIOCSETA.ache1995-04-021-16/+18
| | | | Remove static from some functions, needed in sio (later)
* Return EINVAL instead of setting wrong in/out speedache1995-04-021-9/+9
| | | | | Fix declaration of cc arrays Remove static from compatspcodes, will needed in sio (later)
* c_iflag handling in setting compat modes now more close to V7ache1995-03-291-2/+4
|
* Better IXANY/IXOFF processing into setflags.ache1994-10-111-6/+14
| | | | Cosmetique 'tab' fix
* Fix old cs8->cs7 bug, bringed by rlogin.ache1994-10-111-25/+45
| | | | Obtained from: FreeBSD 1.x
* Cosmetics: added ()'s and fixed prinf-formats to make gcc silent.phk1994-10-081-2/+2
|
* Support speeds 57600 and 115200.bde1994-08-251-12/+16
| | | | Privatize functions.
* Added $Id$dg1994-08-021-0/+1
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-0/+7
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+411
OpenPOWER on IntegriCloud