Commit f8ae4764 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

stallion: use tty_port

Switch the stallion driver to use the tty_port structure
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b1d1619b
This diff is collapsed.
...@@ -69,6 +69,7 @@ struct stlrq { ...@@ -69,6 +69,7 @@ struct stlrq {
*/ */
struct stlport { struct stlport {
unsigned long magic; unsigned long magic;
struct tty_port port;
unsigned int portnr; unsigned int portnr;
unsigned int panelnr; unsigned int panelnr;
unsigned int brdnr; unsigned int brdnr;
...@@ -76,12 +77,10 @@ struct stlport { ...@@ -76,12 +77,10 @@ struct stlport {
int uartaddr; int uartaddr;
unsigned int pagenr; unsigned int pagenr;
unsigned long istate; unsigned long istate;
int flags;
int baud_base; int baud_base;
int custom_divisor; int custom_divisor;
int close_delay; int close_delay;
int closing_wait; int closing_wait;
int refcount;
int openwaitcnt; int openwaitcnt;
int brklen; int brklen;
unsigned int sigs; unsigned int sigs;
...@@ -92,9 +91,6 @@ struct stlport { ...@@ -92,9 +91,6 @@ struct stlport {
unsigned long clk; unsigned long clk;
unsigned long hwid; unsigned long hwid;
void *uartp; void *uartp;
struct tty_struct *tty;
wait_queue_head_t open_wait;
wait_queue_head_t close_wait;
comstats_t stats; comstats_t stats;
struct stlrq tx; struct stlrq tx;
}; };
......
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