patch-2.4.10 linux/include/asm-mips/termbits.h
Next file: linux/include/asm-mips/termios.h
Previous file: linux/include/asm-mips/system.h
Back to the patch index
Back to the overall index
- Lines: 83
- Date:
Sun Sep 9 10:43:01 2001
- Orig file:
v2.4.9/linux/include/asm-mips/termbits.h
- Orig date:
Fri Jan 8 11:11:45 1999
diff -u --recursive --new-file v2.4.9/linux/include/asm-mips/termbits.h linux/include/asm-mips/termbits.h
@@ -5,10 +5,11 @@
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
- * Copyright (C) 1995, 1996 by Ralf Baechle
+ * Copyright (C) 1995, 1996, 2001 Ralf Baechle
+ * Copyright (C) 2001 MIPS Technologies, Inc.
*/
-#ifndef __ASM_MIPS_TERMBITS_H
-#define __ASM_MIPS_TERMBITS_H
+#ifndef _ASM_TERMBITS_H
+#define _ASM_TERMBITS_H
#include <linux/posix_types.h>
@@ -69,21 +70,14 @@
#define INLCR 0000100 /* Map NL to CR on input. */
#define IGNCR 0000200 /* Ignore CR. */
#define ICRNL 0000400 /* Map CR to NL on input. */
-#if defined (__USE_BSD) || defined (__KERNEL__)
#define IUCLC 0001000 /* Map upper case to lower case on input. */
-#endif
#define IXON 0002000 /* Enable start/stop output control. */
-#if defined (__USE_BSD) || defined (__KERNEL__)
#define IXANY 0004000 /* Any character will restart after stop. */
-#endif
#define IXOFF 0010000 /* Enable start/stop input control. */
-#if defined (__USE_BSD) || defined (__KERNEL__)
#define IMAXBEL 0020000 /* Ring bell when input queue is full. */
-#endif
/* c_oflag bits */
#define OPOST 0000001 /* Perform output processing. */
-#if defined (__USE_BSD) || defined (__KERNEL__)
#define OLCUC 0000002 /* Map lower case to upper case on output. */
#define ONLCR 0000004 /* Map NL to CR-NL on output. */
#define OCRNL 0000010
@@ -118,7 +112,6 @@
#define PAGEOUT ???
#define WRAP ???
*/
-#endif
/* c_cflag bit meaning */
#define CBAUD 0010017
@@ -151,7 +144,6 @@
#define PARODD 0001000 /* Odd parity instead of even. */
#define HUPCL 0002000 /* Hang up on last close. */
#define CLOCAL 0004000 /* Ignore modem status lines. */
-#if defined (__USE_BSD) || defined (__KERNEL__)
#define CBAUDEX 0010000
#define B57600 0010001
#define B115200 0010002
@@ -171,7 +163,6 @@
#define CIBAUD 002003600000 /* input baud rate (not used) */
#define CMSPAR 010000000000 /* mark or space (stick) parity */
#define CRTSCTS 020000000000 /* flow control */
-#endif
/* c_lflag bits */
#define ISIG 0000001 /* Enable signals. */
@@ -183,15 +174,11 @@
#define ECHONL 0000100 /* Echo NL even if ECHO is off. */
#define NOFLSH 0000200 /* Disable flush after interrupt. */
#define IEXTEN 0000400 /* Enable DISCARD and LNEXT. */
-#if defined (__USE_BSD) || defined (__KERNEL__)
#define ECHOCTL 0001000 /* Echo control characters as ^X. */
#define ECHOPRT 0002000 /* Hardcopy visual erase. */
#define ECHOKE 0004000 /* Visual erase for KILL. */
-#endif
#define FLUSHO 0020000
-#if defined (__USE_BSD) || defined (__KERNEL__)
#define PENDIN 0040000 /* Retype pending input (state). */
-#endif
#define TOSTOP 0100000 /* Send SIGTTOU for background output. */
#define ITOSTOP TOSTOP
@@ -214,4 +201,4 @@
#define TCSADRAIN TCSETSW /* Change when pending output is written. */
#define TCSAFLUSH TCSETSF /* Flush pending input before changing. */
-#endif /* __ASM_MIPS_TERMBITS_H */
+#endif /* _ASM_TERMBITS_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)