e717abac8a
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>
18 lines
436 B
C
18 lines
436 B
C
/* 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;
|
|
};
|
|
|