diff options
Diffstat (limited to 'arch/cris/include')
-rw-r--r-- | arch/cris/include/asm/ioctls.h | 5 | ||||
-rw-r--r-- | arch/cris/include/asm/rs485.h | 8 | ||||
-rw-r--r-- | arch/cris/include/asm/termios.h | 1 |
3 files changed, 7 insertions, 7 deletions
diff --git a/arch/cris/include/asm/ioctls.h b/arch/cris/include/asm/ioctls.h index 4f4e52531fa0..35bbc181598a 100644 --- a/arch/cris/include/asm/ioctls.h +++ b/arch/cris/include/asm/ioctls.h | |||
@@ -74,8 +74,9 @@ | |||
74 | #define TIOCSHAYESESP 0x545F /* Set Hayes ESP configuration */ | 74 | #define TIOCSHAYESESP 0x545F /* Set Hayes ESP configuration */ |
75 | #define FIOQSIZE 0x5460 | 75 | #define FIOQSIZE 0x5460 |
76 | 76 | ||
77 | #define TIOCSERSETRS485 0x5461 /* enable rs-485 */ | 77 | #define TIOCSERSETRS485 0x5461 /* enable rs-485 (deprecated) */ |
78 | #define TIOCSERWRRS485 0x5462 /* write rs-485 */ | 78 | #define TIOCSERWRRS485 0x5462 /* write rs-485 */ |
79 | #define TIOCSRS485 0x5463 /* enable rs-485 */ | ||
79 | 80 | ||
80 | /* Used for packet mode */ | 81 | /* Used for packet mode */ |
81 | #define TIOCPKT_DATA 0 | 82 | #define TIOCPKT_DATA 0 |
diff --git a/arch/cris/include/asm/rs485.h b/arch/cris/include/asm/rs485.h index c331c51b0c2b..ad40f9fbcb8a 100644 --- a/arch/cris/include/asm/rs485.h +++ b/arch/cris/include/asm/rs485.h | |||
@@ -1,15 +1,13 @@ | |||
1 | /* RS-485 structures */ | 1 | /* RS-485 structures */ |
2 | 2 | ||
3 | /* RS-485 support */ | 3 | /* Used with ioctl() TIOCSERSETRS485 for backward compatibility! |
4 | /* Used with ioctl() TIOCSERSETRS485 */ | 4 | * XXX: Do not use it for new code! |
5 | */ | ||
5 | struct rs485_control { | 6 | struct rs485_control { |
6 | unsigned short rts_on_send; | 7 | unsigned short rts_on_send; |
7 | unsigned short rts_after_sent; | 8 | unsigned short rts_after_sent; |
8 | unsigned long delay_rts_before_send; | 9 | unsigned long delay_rts_before_send; |
9 | unsigned short enabled; | 10 | unsigned short enabled; |
10 | #ifdef __KERNEL__ | ||
11 | int disable_serial_loopback; | ||
12 | #endif | ||
13 | }; | 11 | }; |
14 | 12 | ||
15 | /* Used with ioctl() TIOCSERWRRS485 */ | 13 | /* Used with ioctl() TIOCSERWRRS485 */ |
diff --git a/arch/cris/include/asm/termios.h b/arch/cris/include/asm/termios.h index b0124e6c2e41..1265109f4ce3 100644 --- a/arch/cris/include/asm/termios.h +++ b/arch/cris/include/asm/termios.h | |||
@@ -4,6 +4,7 @@ | |||
4 | #include <asm/termbits.h> | 4 | #include <asm/termbits.h> |
5 | #include <asm/ioctls.h> | 5 | #include <asm/ioctls.h> |
6 | #include <asm/rs485.h> | 6 | #include <asm/rs485.h> |
7 | #include <linux/serial.h> | ||
7 | 8 | ||
8 | struct winsize { | 9 | struct winsize { |
9 | unsigned short ws_row; | 10 | unsigned short ws_row; |