summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Beare <brucex.j.beare@intel.com>2010-06-04 08:14:44 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-06-09 15:52:28 -0700
commit9205fdf8c689a9cb27cfb33aeb58789c7da75788 (patch)
tree0b1d5d6f72a51543e029d5422702ad3f8bbc6cc3
parent2beac0f5c67470611629e4fe4c8e495232ff63fa (diff)
downloadbionic-9205fdf8c689a9cb27cfb33aeb58789c7da75788.zip
bionic-9205fdf8c689a9cb27cfb33aeb58789c7da75788.tar.gz
bionic-9205fdf8c689a9cb27cfb33aeb58789c7da75788.tar.bz2
Add missing termios defns to bring on par with ARM - DO NOT MERGE
Change-Id: I6e16e7ab117b6df07ef24f092de1511fe1e9e7b1
-rw-r--r--libc/kernel/arch-x86/asm/termios.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/kernel/arch-x86/asm/termios.h b/libc/kernel/arch-x86/asm/termios.h
index 4a38aee..6542c78 100644
--- a/libc/kernel/arch-x86/asm/termios.h
+++ b/libc/kernel/arch-x86/asm/termios.h
@@ -47,4 +47,21 @@ struct termio {
#define TIOCM_OUT2 0x4000
#define TIOCM_LOOP 0x8000
+#define N_TTY 0
+#define N_SLIP 1
+#define N_MOUSE 2
+#define N_PPP 3
+#define N_STRIP 4
+#define N_AX25 5
+#define N_X25 6
+#define N_6PACK 7
+#define N_MASC 8
+#define N_R3964 9
+#define N_PROFIBUS_FDL 10
+#define N_IRDA 11
+#define N_SMSBLOCK 12
+#define N_HDLC 13
+#define N_SYNC_PPP 14
+#define N_HCI 15
+
#endif