aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/include/uapi
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/include/uapi')
-rw-r--r--arch/alpha/include/uapi/asm/ioctls.h5
-rw-r--r--arch/alpha/include/uapi/asm/termbits.h17
2 files changed, 22 insertions, 0 deletions
diff --git a/arch/alpha/include/uapi/asm/ioctls.h b/arch/alpha/include/uapi/asm/ioctls.h
index 1e9121c9b3c7..971311605288 100644
--- a/arch/alpha/include/uapi/asm/ioctls.h
+++ b/arch/alpha/include/uapi/asm/ioctls.h
@@ -32,6 +32,11 @@
#define TCXONC _IO('t', 30)
#define TCFLSH _IO('t', 31)
+#define TCGETS2 _IOR('T', 42, struct termios2)
+#define TCSETS2 _IOW('T', 43, struct termios2)
+#define TCSETSW2 _IOW('T', 44, struct termios2)
+#define TCSETSF2 _IOW('T', 45, struct termios2)
+
#define TIOCSWINSZ _IOW('t', 103, struct winsize)
#define TIOCGWINSZ _IOR('t', 104, struct winsize)
#define TIOCSTART _IO('t', 110) /* start output, like ^Q */
diff --git a/arch/alpha/include/uapi/asm/termbits.h b/arch/alpha/include/uapi/asm/termbits.h
index de6c8360fbe3..4575ba34a0ea 100644
--- a/arch/alpha/include/uapi/asm/termbits.h
+++ b/arch/alpha/include/uapi/asm/termbits.h
@@ -26,6 +26,19 @@ struct termios {
speed_t c_ospeed; /* output speed */
};
+/* Alpha has identical termios and termios2 */
+
+struct termios2 {
+ tcflag_t c_iflag; /* input mode flags */
+ tcflag_t c_oflag; /* output mode flags */
+ tcflag_t c_cflag; /* control mode flags */
+ tcflag_t c_lflag; /* local mode flags */
+ cc_t c_cc[NCCS]; /* control characters */
+ cc_t c_line; /* line discipline (== c_cc[19]) */
+ speed_t c_ispeed; /* input speed */
+ speed_t c_ospeed; /* output speed */
+};
+
/* Alpha has matching termios and ktermios */
struct ktermios {
@@ -152,6 +165,7 @@ struct ktermios {
#define B3000000 00034
#define B3500000 00035
#define B4000000 00036
+#define BOTHER 00037
#define CSIZE 00001400
#define CS5 00000000
@@ -169,6 +183,9 @@ struct ktermios {
#define CMSPAR 010000000000 /* mark or space (stick) parity */
#define CRTSCTS 020000000000 /* flow control */
+#define CIBAUD 07600000
+#define IBSHIFT 16
+
/* c_lflag bits */
#define ISIG 0x00000080
#define ICANON 0x00000100
d>mm: nobootmem: Correct alloc_bootmem semantics.David Miller1-2/+8 2012-04-24GFS2: Instruct DLM to avoid queue convert slowdownBob Peterson1-3/+7 2012-04-23super.c: unused variable warning without CONFIG_QUOTAEldad Zack1-0/+2 2012-04-23jbd2: use GFP_NOFS for blkdev_issue_flushShaohua Li1-2/+2 2012-04-23mm: fix s390 BUG by __set_page_dirty_no_writeback on swapHugh Dickins1-1/+1 2012-04-23x32, siginfo: Provide proper overrides for x32 siginfo_tH. Peter Anvin1-1/+7 2012-04-24md: fix possible corruption of array metadata on shutdown.NeilBrown1-1/+2 2012-04-24md: don't call ->add_disk unless there is good reason.NeilBrown1-2/+2 2012-04-24DM RAID: Use safe version of rdev_for_eachJonathan Brassow1-2/+2 2012-04-23asm-generic: Allow overriding clock_t and add attributes to siginfo_tH. Peter Anvin1-3/+11 2012-04-23x32: Check __ILP32__ instead of __LP64__ for x32H.J. Lu3-7/+7 2012-04-23x86, acpi: Call acpi_enter_sleep_state via an asmlinkage C function from asse...Konrad Rzeszutek Wilk4-6/+8 2012-04-23ACPI: Convert wake_sleep_flags to a value instead of functionKonrad Rzeszutek Wilk2-24/+30 2012-04-23hexagon: add missing cpu.h includeRichard Kuo1-1/+2 2012-04-23hexagon/CPU hotplug: Add missing call to notify_cpu_starting()Srivatsa S. Bhat1-0/+5 2012-04-23hexagon: use renamed tick_nohz_idle_* functionsRichard Kuo1-3/+3 2012-04-23Hexagon: misc compile warning/error cleanup due to missing headersRichard Kuo4-0/+4 2012-04-23dlm: fix QUECVT when convert queue is emptyDavid Teigland1-0/+12