summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/ioctls.h
diff options
context:
space:
mode:
authorClaudio Scordino <claudio@evidence.eu.com>2010-05-03 13:31:28 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-05-04 16:59:11 +0100
commite8faff7330a3501eafc9bfe5f4f15af444be29f5 (patch)
treef0348e3831698baed6cc122972b8239bd155ecdf /arch/arm/include/asm/ioctls.h
parentaec9562f3db8ece218125042e0b2b7ac5b7091e7 (diff)
downloadblackbird-op-linux-e8faff7330a3501eafc9bfe5f4f15af444be29f5.tar.gz
blackbird-op-linux-e8faff7330a3501eafc9bfe5f4f15af444be29f5.zip
ARM: 6092/1: atmel_serial: support for RS485 communications
Final version of the patch that adds support for RS485 communications to the atmel_serial driver. The patch has been already sent and discussed on both linux-kernel and linux-arm-kernel mailing lists several times. Many people collaborated to improve and test the code: Tested-by: Sebastian Heutling <Sebastian.Heutling@who-ing.de> Tested-by: Bernhard Roth <br@pwrnet.de> Reviewed-by: Ryan Mallon <ryan@bluewatersys.com> Signed-off-by: Claudio Scordino <claudio@evidence.eu.com> Signed-off-by: Michael Trimarchi <michael@evidence.eu.com> Signed-off-by: Rick Bronson <rick@efn.org> Signed-off-by: Sebastian Heutling <Sebastian.Heutling@who-ing.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/ioctls.h')
-rw-r--r--arch/arm/include/asm/ioctls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/ioctls.h b/arch/arm/include/asm/ioctls.h
index a91d8a1523cf..7f0b6d13296a 100644
--- a/arch/arm/include/asm/ioctls.h
+++ b/arch/arm/include/asm/ioctls.h
@@ -53,6 +53,9 @@
#define TIOCGPTN _IOR('T',0x30, unsigned int) /* Get Pty Number (of pty-mux device) */
#define TIOCSPTLCK _IOW('T',0x31, int) /* Lock/unlock Pty */
+#define TIOCGRS485 0x542E
+#define TIOCSRS485 0x542F
+
#define FIONCLEX 0x5450 /* these numbers need to be adjusted. */
#define FIOCLEX 0x5451
#define FIOASYNC 0x5452
OpenPOWER on IntegriCloud