aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serialP.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/serialP.h')
-rw-r--r--include/linux/serialP.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/serialP.h b/include/linux/serialP.h
index 984f5ba8da4e..32d45b869cbc 100644
--- a/include/linux/serialP.h
+++ b/include/linux/serialP.h
@@ -23,6 +23,7 @@
23#include <linux/workqueue.h> 23#include <linux/workqueue.h>
24#include <linux/interrupt.h> 24#include <linux/interrupt.h>
25#include <linux/circ_buf.h> 25#include <linux/circ_buf.h>
26#include <linux/tty.h>
26#include <linux/wait.h> 27#include <linux/wait.h>
27 28
28struct serial_state { 29struct serial_state {
@@ -38,6 +39,7 @@ struct serial_state {
38 unsigned short close_delay; 39 unsigned short close_delay;
39 unsigned short closing_wait; /* time to wait before closing */ 40 unsigned short closing_wait; /* time to wait before closing */
40 struct async_icount icount; 41 struct async_icount icount;
42 struct tty_port tport;
41 43
42 /* amiserial */ 44 /* amiserial */
43 int read_status_mask; 45 int read_status_mask;
@@ -46,14 +48,9 @@ struct serial_state {
46 int quot; 48 int quot;
47 int IER; /* Interrupt Enable Register */ 49 int IER; /* Interrupt Enable Register */
48 int MCR; /* Modem control register */ 50 int MCR; /* Modem control register */
49 wait_queue_head_t delta_msr_wait;
50 /* simserial */ 51 /* simserial */
51 int x_char; /* xon/xoff character */ 52 int x_char; /* xon/xoff character */
52 int blocked_open; /* # of blocked opens */
53 struct circ_buf xmit; 53 struct circ_buf xmit;
54 wait_queue_head_t open_wait;
55 wait_queue_head_t close_wait;
56 struct tty_struct *tty;
57 /* /simserial */ 54 /* /simserial */
58 /* /amiserial */ 55 /* /amiserial */
59}; 56};