aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2014-09-09 14:37:59 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-10 01:36:40 -0400
commit999156ada570cb4a2eaee42e47c9e659b5c577fb (patch)
tree7ea23bdd72e5e98be1b9b7c9c4818fa0436f7a31 /arch/sparc/include
parent8e63aee564229f95d1e1d7e5e21ffe2622f28f16 (diff)
sparc/uapi: Add definition of TIOC[SG]RS485
Commit: e676253b19b2d269cccf67fdb1592120a0cd0676 (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 Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/uapi/asm/ioctls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/include/uapi/asm/ioctls.h b/arch/sparc/include/uapi/asm/ioctls.h
index 897d1723fa14..06b3f6c3bb9a 100644
--- a/arch/sparc/include/uapi/asm/ioctls.h
+++ b/arch/sparc/include/uapi/asm/ioctls.h
@@ -24,6 +24,8 @@
24#define TIOCGPKT _IOR('T', 0x38, int) /* Get packet mode state */ 24#define TIOCGPKT _IOR('T', 0x38, int) /* Get packet mode state */
25#define TIOCGPTLCK _IOR('T', 0x39, int) /* Get Pty lock state */ 25#define TIOCGPTLCK _IOR('T', 0x39, int) /* Get Pty lock state */
26#define TIOCGEXCL _IOR('T', 0x40, int) /* Get exclusive mode state */ 26#define TIOCGEXCL _IOR('T', 0x40, int) /* Get exclusive mode state */
27#define TIOCGRS485 _IOR('T', 0x41, struct serial_rs485)
28#define TIOCSRS485 _IOWR('T', 0x42, struct serial_rs485)
27 29
28/* Note that all the ioctls that are not available in Linux have a 30/* Note that all the ioctls that are not available in Linux have a
29 * double underscore on the front to: a) avoid some programs to 31 * double underscore on the front to: a) avoid some programs to