6fd1af4cf9
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 <claudio@evidence.eu.com>
Tested-by: Hinko Kocevar <hinko.kocevar@cetrtapot.si>
Tested-by: Janez Cufer <janez.cufer@cetrtapot.si>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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;
|
|
};
|
|
|