diff options
| author | Russell King <rmk@flint.arm.linux.org.uk> | 2004-12-04 21:09:09 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2004-12-04 21:09:09 +0000 |
| commit | bb3ddc318e8fc1f0bca18c1d86403c01370fe9df (patch) | |
| tree | 69527f7ab6c7fa3234af4e00d736e41d24d9bb47 /include | |
| parent | b56211a1a9cfaf3ec49b9ca146446b47d3d704eb (diff) | |
[SERIAL] Ensure correct units for close_delay and closing_wait.
Use milliseconds internally for these delays, and convert them
to centiseconds at the interface boundary to the ioctl
configuration controls.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/serial_core.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 1dd43bc63800..9666c572f65b 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -244,11 +244,11 @@ struct uart_port { * within. */ struct uart_state { - unsigned int close_delay; - unsigned int closing_wait; + unsigned int close_delay; /* msec */ + unsigned int closing_wait; /* msec */ #define USF_CLOSING_WAIT_INF (0) -#define USF_CLOSING_WAIT_NONE (65535) +#define USF_CLOSING_WAIT_NONE (~0U) int count; int pm_state; |
