diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-10-27 18:15:57 -0400 |
| commit | b74b953b998bcc2db91b694446f3a2619ec32de6 (patch) | |
| tree | 6ce24caabd730f6ae9287ed0676ec32e6ff31e9d /include/linux/serial.h | |
| parent | abb438526201c6a79949ad45375c051b6681c253 (diff) | |
| parent | f6f94e2ab1b33f0082ac22d71f66385a60d8157f (diff) | |
Merge commit 'v2.6.36' into kbuild/misc
Update to be able to fix a recent change to scripts/basic/docproc.c
(commit eda603f).
Diffstat (limited to 'include/linux/serial.h')
| -rw-r--r-- | include/linux/serial.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/serial.h b/include/linux/serial.h index c8613c3ff9d3..ef914061511e 100644 --- a/include/linux/serial.h +++ b/include/linux/serial.h | |||
| @@ -151,7 +151,7 @@ struct serial_uart_config { | |||
| 151 | #define ASYNC_BUGGY_UART (1U << ASYNCB_BUGGY_UART) | 151 | #define ASYNC_BUGGY_UART (1U << ASYNCB_BUGGY_UART) |
| 152 | #define ASYNC_AUTOPROBE (1U << ASYNCB_AUTOPROBE) | 152 | #define ASYNC_AUTOPROBE (1U << ASYNCB_AUTOPROBE) |
| 153 | 153 | ||
| 154 | #define ASYNC_FLAGS ((1U << ASYNCB_LAST_USER) - 1) | 154 | #define ASYNC_FLAGS ((1U << (ASYNCB_LAST_USER + 1)) - 1) |
| 155 | #define ASYNC_USR_MASK (ASYNC_SPD_HI|ASYNC_SPD_VHI| \ | 155 | #define ASYNC_USR_MASK (ASYNC_SPD_HI|ASYNC_SPD_VHI| \ |
| 156 | ASYNC_CALLOUT_NOHUP|ASYNC_SPD_SHI|ASYNC_LOW_LATENCY) | 156 | ASYNC_CALLOUT_NOHUP|ASYNC_SPD_SHI|ASYNC_LOW_LATENCY) |
| 157 | #define ASYNC_SPD_CUST (ASYNC_SPD_HI|ASYNC_SPD_VHI) | 157 | #define ASYNC_SPD_CUST (ASYNC_SPD_HI|ASYNC_SPD_VHI) |
| @@ -210,8 +210,10 @@ struct serial_rs485 { | |||
| 210 | #define SER_RS485_ENABLED (1 << 0) | 210 | #define SER_RS485_ENABLED (1 << 0) |
| 211 | #define SER_RS485_RTS_ON_SEND (1 << 1) | 211 | #define SER_RS485_RTS_ON_SEND (1 << 1) |
| 212 | #define SER_RS485_RTS_AFTER_SEND (1 << 2) | 212 | #define SER_RS485_RTS_AFTER_SEND (1 << 2) |
| 213 | #define SER_RS485_RTS_BEFORE_SEND (1 << 3) | ||
| 213 | __u32 delay_rts_before_send; /* Milliseconds */ | 214 | __u32 delay_rts_before_send; /* Milliseconds */ |
| 214 | __u32 padding[6]; /* Memory is cheap, new structs | 215 | __u32 delay_rts_after_send; /* Milliseconds */ |
| 216 | __u32 padding[5]; /* Memory is cheap, new structs | ||
| 215 | are a royal PITA .. */ | 217 | are a royal PITA .. */ |
| 216 | }; | 218 | }; |
| 217 | 219 | ||
