summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/serial_core.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 3fad76b0873c..9666c572f65b 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -91,12 +91,15 @@
/* MPC52xx type numbers */
#define PORT_MPC52xx 59
-/*IBM icom*/
-#define PORT_ICOM 60
+/* IBM icom */
+#define PORT_ICOM 60
/* Samsung S3C2440 SoC */
#define PORT_S3C2440 61
+/* Motorola i.MX SoC */
+#define PORT_IMX 62
+
#ifdef __KERNEL__
#include <linux/config.h>
@@ -241,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;