Commit 4982d6b3 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

esp: use tty_port

Switch esp to use the new tty_port structures
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 52d41738
This diff is collapsed.
......@@ -76,11 +76,10 @@ struct hayes_esp_config {
struct esp_struct {
int magic;
struct tty_port port;
spinlock_t lock;
int port;
int io_port;
int irq;
int flags; /* defined in tty.h */
struct tty_struct *tty;
int read_status_mask;
int ignore_status_mask;
int timeout;
......@@ -93,14 +92,10 @@ struct esp_struct {
int MCR; /* Modem control register */
unsigned long last_active;
int line;
int count; /* # of fd on device */
int blocked_open; /* # of blocked opens */
unsigned char *xmit_buf;
int xmit_head;
int xmit_tail;
int xmit_cnt;
wait_queue_head_t open_wait;
wait_queue_head_t close_wait;
wait_queue_head_t delta_msr_wait;
wait_queue_head_t break_wait;
struct async_icount icount; /* kernel counters for the 4 input interrupts */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment