]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/cris/include/asm/rs485.h
c331c51b0c2b4cec0ac59df248220b32e351c7ce
[linux-2.6-omap-h63xx.git] / arch / cris / include / asm / rs485.h
1 /* RS-485 structures */
2
3 /* RS-485 support */
4 /* Used with ioctl() TIOCSERSETRS485 */
5 struct 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 */
16 struct rs485_write {
17         unsigned short outc_size;
18         unsigned char *outc;
19 };
20