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 {
*/
struct stlport {
unsigned long magic;
struct tty_port port;
unsigned int portnr;
unsigned int panelnr;
unsigned int brdnr;
......@@ -76,12 +77,10 @@ struct stlport {
int uartaddr;
unsigned int pagenr;
unsigned long istate;
int flags;
int baud_base;
int custom_divisor;
int close_delay;
int closing_wait;
int refcount;
int openwaitcnt;
int brklen;
unsigned int sigs;
......@@ -92,9 +91,6 @@ struct stlport {
unsigned long clk;
unsigned long hwid;
void *uartp;
struct tty_struct *tty;
wait_queue_head_t open_wait;
wait_queue_head_t close_wait;
comstats_t stats;
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