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

rocket: use tty_port

Switch the rocketport to use the new tty_port structure
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0ad9e7d1
This diff is collapsed.
...@@ -1125,11 +1125,9 @@ Warnings: This function writes the data byte without checking to see if ...@@ -1125,11 +1125,9 @@ Warnings: This function writes the data byte without checking to see if
struct r_port { struct r_port {
int magic; int magic;
struct tty_port port;
int line; int line;
int flags; int flags; /* Don't yet match the ASY_ flags!! */
int count;
int blocked_open;
struct tty_struct *tty;
unsigned int board:3; unsigned int board:3;
unsigned int aiop:2; unsigned int aiop:2;
unsigned int chan:3; unsigned int chan:3;
...@@ -1148,8 +1146,7 @@ struct r_port { ...@@ -1148,8 +1146,7 @@ struct r_port {
int read_status_mask; int read_status_mask;
int cps; int cps;
wait_queue_head_t open_wait; struct completion close_wait; /* Not yet matching the core */
struct completion close_wait;
spinlock_t slock; spinlock_t slock;
struct mutex write_mtx; struct mutex write_mtx;
}; };
......
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