summaryrefslogtreecommitdiff
path: root/arch/sh/bits/ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/bits/ioctl.h')
-rw-r--r--arch/sh/bits/ioctl.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/sh/bits/ioctl.h b/arch/sh/bits/ioctl.h
index c0b668b2..2f63d06f 100644
--- a/arch/sh/bits/ioctl.h
+++ b/arch/sh/bits/ioctl.h
@@ -81,10 +81,14 @@
#define TIOCSBRK _IO('T', 39)
#define TIOCCBRK _IO('T', 40)
#define TIOCGSID _IOR('T', 41, int)
-#define TCGETS _IOR('T', 42, char[44])
-#define TCSETS _IOW('T', 43, char[44])
-#define TCSETSW _IOW('T', 44, char[44])
-#define TCSETSF _IOW('T', 45, char[44])
+#define TCGETS _IO('T', 1)
+#define TCSETS _IO('T', 2)
+#define TCSETSW _IO('T', 3)
+#define TCSETSF _IO('T', 4)
+#define TCGETS2 _IOR('T', 42, char[44])
+#define TCSETS2 _IOW('T', 43, char[44])
+#define TCSETSW2 _IOW('T', 44, char[44])
+#define TCSETSF2 _IOW('T', 45, char[44])
#define TIOCGPTN _IOR('T', 48, unsigned int)
#define TIOCSPTLCK _IOW('T', 49, int)
#define TIOCGDEV _IOR('T', 50, unsigned int)