xtensa/uapi: Add definition of TIOC[SG]RS485
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tue, 9 Sep 2014 19:39:24 +0000 (21:39 +0200)
committerChris Zankel <chris@zankel.net>
Wed, 10 Sep 2014 06:48:57 +0000 (23:48 -0700)
Commit: e676253b19b2d269cccf67fdb1592120a0cd0676 [3/21] serial/8250: Add
support for RS485 IOCTLs, adds support for RS485 ioctls for 825_core on
all the archs. Unfortunaltely the definition of TIOCSRS485 and
TIOCGRS485 was missing on the ioctls.h file

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/include/uapi/asm/ioctls.h

index a47909f0c34b4892848d06b9f55ebe4a37563d90..518954e74e6d5e49e77c14a6eecb104319019edd 100644 (file)
@@ -95,6 +95,8 @@
 #define TCSETS2                _IOW('T', 43, struct termios2)
 #define TCSETSW2       _IOW('T', 44, struct termios2)
 #define TCSETSF2       _IOW('T', 45, struct termios2)
+#define TIOCGRS485     _IOR('T', 46, struct serial_rs485)
+#define TIOCSRS485     _IOWR('T', 47, struct serial_rs485)
 #define TIOCGPTN       _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
 #define TIOCSPTLCK     _IOW('T',0x31, int)  /* Lock/unlock Pty */
 #define TIOCGDEV       _IOR('T',0x32, unsigned int) /* Get primary device node of /dev/console */