mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
Use the new general RS485 Linux data structure (introduced by Alan with
commit number c26c56c0f4) in the Cris
architecture too (currently, Cris still uses the old private data
structure instead of the new one).
Signed-off-by: Claudio Scordino <[email protected]>
Tested-by: Hinko Kocevar <[email protected]>
Tested-by: Janez Cufer <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
19 lines
436 B
C
19 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;
|
|
};
|
|
|