aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/include/asm/rs485.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/include/asm/rs485.h')
-rw-r--r--arch/cris/include/asm/rs485.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/cris/include/asm/rs485.h b/arch/cris/include/asm/rs485.h
new file mode 100644
index 000000000000..c331c51b0c2b
--- /dev/null
+++ b/arch/cris/include/asm/rs485.h
@@ -0,0 +1,20 @@
1/* RS-485 structures */
2
3/* RS-485 support */
4/* Used with ioctl() TIOCSERSETRS485 */
5struct rs485_control {
6 unsigned short rts_on_send;
7 unsigned short rts_after_sent;
8 unsigned long delay_rts_before_send;
9 unsigned short enabled;
10#ifdef __KERNEL__
11 int disable_serial_loopback;
12#endif
13};
14
15/* Used with ioctl() TIOCSERWRRS485 */
16struct rs485_write {
17 unsigned short outc_size;
18 unsigned char *outc;
19};
20