Commit 52d41738 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

epca: use tty_port

Switch the EPCA driver to include and begin using a tty_port structure
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7a4d29f4
This diff is collapsed.
...@@ -84,6 +84,7 @@ static char *board_desc[] = ...@@ -84,6 +84,7 @@ static char *board_desc[] =
struct channel struct channel
{ {
long magic; long magic;
struct tty_port port;
unsigned char boardnum; unsigned char boardnum;
unsigned char channelnum; unsigned char channelnum;
unsigned char omodem; /* FEP output modem status */ unsigned char omodem; /* FEP output modem status */
...@@ -117,10 +118,7 @@ struct channel ...@@ -117,10 +118,7 @@ struct channel
unsigned short rxbufhead; unsigned short rxbufhead;
unsigned short rxbufsize; unsigned short rxbufsize;
int close_delay; int close_delay;
int count;
int blocked_open;
unsigned long event; unsigned long event;
int asyncflags;
uint dev; uint dev;
unsigned long statusflags; unsigned long statusflags;
unsigned long c_iflag; unsigned long c_iflag;
...@@ -132,9 +130,6 @@ struct channel ...@@ -132,9 +130,6 @@ struct channel
struct board_info *board; struct board_info *board;
struct board_chan __iomem *brdchan; struct board_chan __iomem *brdchan;
struct digi_struct digiext; struct digi_struct digiext;
struct tty_struct *tty;
wait_queue_head_t open_wait;
wait_queue_head_t close_wait;
struct work_struct tqueue; struct work_struct tqueue;
struct global_data __iomem *mailbox; struct global_data __iomem *mailbox;
}; };
......
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