aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorClaudio Scordino <claudio@evidence.eu.com>2010-05-31 04:19:09 -0400
committerJesper Nilsson <jesper.nilsson@axis.com>2010-08-09 08:10:32 -0400
commitf1d23ed8218ca5afaf178a6495253dbb7fc98f57 (patch)
treee80045aba944222321ea47ba1dd8a5a2fc741348 /arch/cris
parent9fe6206f400646a2322096b56c59891d530e8d51 (diff)
CRIS: ioctl for getting RS485 information
Add ioctl to CRIS serial driver to get RS485 data from user-space. Signed-off-by: Claudio Scordino <claudio@evidence.eu.com> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/include/asm/ioctls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/cris/include/asm/ioctls.h b/arch/cris/include/asm/ioctls.h
index 35bbc181598a..076c07824eb6 100644
--- a/arch/cris/include/asm/ioctls.h
+++ b/arch/cris/include/asm/ioctls.h
@@ -77,6 +77,7 @@
77#define TIOCSERSETRS485 0x5461 /* enable rs-485 (deprecated) */ 77#define TIOCSERSETRS485 0x5461 /* enable rs-485 (deprecated) */
78#define TIOCSERWRRS485 0x5462 /* write rs-485 */ 78#define TIOCSERWRRS485 0x5462 /* write rs-485 */
79#define TIOCSRS485 0x5463 /* enable rs-485 */ 79#define TIOCSRS485 0x5463 /* enable rs-485 */
80#define TIOCGRS485 0x542E /* get rs-485 */
80 81
81/* Used for packet mode */ 82/* Used for packet mode */
82#define TIOCPKT_DATA 0 83#define TIOCPKT_DATA 0