From 5ce901279ec8b51fd80fb33bdebbbe54553a6057 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sun, 3 Jul 2016 17:04:32 +0200 Subject: add missing TIOC* macros to ioctl.h these are defined in linux asm/ioctls.h. (powerpc64 and powerpc bits/ioctl.h are now identical) --- arch/mips/bits/ioctl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/mips/bits') 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 -- cgit v1.2.1