sparc/uapi: Add definition of TIOC[SG]RS485
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tue, 9 Sep 2014 18:37:59 +0000 (20:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Sep 2014 05:36:40 +0000 (22:36 -0700)
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>
arch/sparc/include/uapi/asm/ioctls.h

index 897d1723fa143c62e838073a7b9083fc36163f0e..06b3f6c3bb9aa353362cc90acf2585b11227dd1d 100644 (file)
@@ -24,6 +24,8 @@
 #define TIOCGPKT       _IOR('T', 0x38, int) /* Get packet mode state */
 #define TIOCGPTLCK     _IOR('T', 0x39, int) /* Get Pty lock state */
 #define TIOCGEXCL      _IOR('T', 0x40, int) /* Get exclusive mode state */
+#define TIOCGRS485     _IOR('T', 0x41, struct serial_rs485)
+#define TIOCSRS485     _IOWR('T', 0x42, struct serial_rs485)
 
 /* Note that all the ioctls that are not available in Linux have a 
  * double underscore on the front to: a) avoid some programs to
This page took 0.038376 seconds and 5 git commands to generate.