summaryrefslogtreecommitdiff
path: root/arch/cris/include/uapi/asm/rs485.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-09 09:46:45 +0100
committerDavid Howells <dhowells@redhat.com>2012-10-09 09:46:45 +0100
commite717abac8a9f65eee6de3bb37e10c6916bced483 (patch)
tree574926087195e53958eec38886d60942e420c7b8 /arch/cris/include/uapi/asm/rs485.h
parent98d848ea4c017101f7e4a85917d0e0991f388cd8 (diff)
downloadlwn-e717abac8a9f65eee6de3bb37e10c6916bced483.tar.gz
lwn-e717abac8a9f65eee6de3bb37e10c6916bced483.zip
UAPI: (Scripted) Disintegrate arch/cris/include/asm
Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/cris/include/uapi/asm/rs485.h')
-rw-r--r--arch/cris/include/uapi/asm/rs485.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/cris/include/uapi/asm/rs485.h b/arch/cris/include/uapi/asm/rs485.h
new file mode 100644
index 000000000000..ad40f9fbcb8a
--- /dev/null
+++ b/arch/cris/include/uapi/asm/rs485.h
@@ -0,0 +1,18 @@
+/* RS-485 structures */
+
+/* Used with ioctl() TIOCSERSETRS485 for backward compatibility!
+ * XXX: Do not use it for new code!
+ */
+struct rs485_control {
+ unsigned short rts_on_send;
+ unsigned short rts_after_sent;
+ unsigned long delay_rts_before_send;
+ unsigned short enabled;
+};
+
+/* Used with ioctl() TIOCSERWRRS485 */
+struct rs485_write {
+ unsigned short outc_size;
+ unsigned char *outc;
+};
+