Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* RS-485 structures */ |
| 2 | |
Claudio Scordino | 6fd1af4 | 2009-04-07 16:48:19 +0100 | [diff] [blame] | 3 | /* Used with ioctl() TIOCSERSETRS485 for backward compatibility! |
| 4 | * XXX: Do not use it for new code! |
| 5 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | struct rs485_control { |
| 7 | unsigned short rts_on_send; |
| 8 | unsigned short rts_after_sent; |
| 9 | unsigned long delay_rts_before_send; |
| 10 | unsigned short enabled; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | }; |
| 12 | |
| 13 | /* Used with ioctl() TIOCSERWRRS485 */ |
| 14 | struct rs485_write { |
| 15 | unsigned short outc_size; |
| 16 | unsigned char *outc; |
| 17 | }; |
| 18 | |