summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-07-03 17:04:32 +0200
committerRich Felker <dalias@aerifal.cx>2016-07-03 14:54:34 -0400
commit5ce901279ec8b51fd80fb33bdebbbe54553a6057 (patch)
tree12fb9b67f9831e4c31f37f42de1adf73ded45517 /arch/mips
parent8735a921d0242be0d7e6dbe0f76f79e09d4f06dd (diff)
downloadmusl-5ce901279ec8b51fd80fb33bdebbbe54553a6057.tar.gz
musl-5ce901279ec8b51fd80fb33bdebbbe54553a6057.tar.bz2
musl-5ce901279ec8b51fd80fb33bdebbbe54553a6057.tar.xz
musl-5ce901279ec8b51fd80fb33bdebbbe54553a6057.zip
add missing TIOC* macros to ioctl.h
these are defined in linux asm/ioctls.h. (powerpc64 and powerpc bits/ioctl.h are now identical)
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/bits/ioctl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/bits/ioctl.h b/arch/mips/bits/ioctl.h
index 20635bb8..02c60bdf 100644
--- a/arch/mips/bits/ioctl.h
+++ b/arch/mips/bits/ioctl.h
@@ -58,8 +58,16 @@
#define TIOCSBRK 0x5427
#define TIOCCBRK 0x5428
#define TIOCGSID 0x7416
+#define TIOCGRS485 _IOR('T', 0x2E, char[32])
+#define TIOCSRS485 _IOWR('T', 0x2F, char[32])
#define TIOCGPTN _IOR('T', 0x30, unsigned int)
#define TIOCSPTLCK _IOW('T', 0x31, int)
+#define TIOCGDEV _IOR('T', 0x32, unsigned int)
+#define TIOCSIG _IOW('T', 0x36, int)
+#define TIOCVHANGUP 0x5437
+#define TIOCGPKT _IOR('T', 0x38, int)
+#define TIOCGPTLCK _IOR('T', 0x39, int)
+#define TIOCGEXCL _IOR('T', 0x40, int)
#define TIOCSCTTY 0x5480
#define TIOCGSOFTCAR 0x5481