aboutsummaryrefslogtreecommitdiff
path: root/arch/cris/include/uapi/asm/rs485.h
diff options
context:
space:
mode:
authorJesper Nilsson <jesper@jni.nu>2012-12-20 12:48:53 +0100
committerJesper Nilsson <jesper@jni.nu>2012-12-20 12:48:53 +0100
commite61ac0b05c53f5b56f3ea623c215437c09d8265b (patch)
tree70f97df839761058f2367d40c629b87e8e932a19 /arch/cris/include/uapi/asm/rs485.h
parent8e6b4dd1e1fbe81e7f9756eb8299632de641b2e1 (diff)
parente717abac8a9f65eee6de3bb37e10c6916bced483 (diff)
Merge tag 'disintegrate-cris-20121009' of git://git.infradead.org/users/dhowells/linux-headers into for-linus2
UAPI Disintegration 2012-10-09 * tag 'disintegrate-cris-20121009' of git://git.infradead.org/users/dhowells/linux-headers: UAPI: (Scripted) Disintegrate arch/cris/include/asm UAPI: (Scripted) Disintegrate arch/cris/include/arch-v32/arch UAPI: (Scripted) Disintegrate arch/cris/include/arch-v10/arch
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 00000000000..ad40f9fbcb8
--- /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;
+};
+