rocket: use tty_port

Switch the rocketport to use the new tty_port structure

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Alan Cox
2008-07-16 21:56:18 +01:00
committed by Linus Torvalds
parent 0ad9e7d1d6
commit e60a108448
2 changed files with 61 additions and 64 deletions

View File

@@ -1125,11 +1125,9 @@ Warnings: This function writes the data byte without checking to see if
struct r_port {
int magic;
struct tty_port port;
int line;
int flags;
int count;
int blocked_open;
struct tty_struct *tty;
int flags; /* Don't yet match the ASY_ flags!! */
unsigned int board:3;
unsigned int aiop:2;
unsigned int chan:3;
@@ -1148,8 +1146,7 @@ struct r_port {
int read_status_mask;
int cps;
wait_queue_head_t open_wait;
struct completion close_wait;
struct completion close_wait; /* Not yet matching the core */
spinlock_t slock;
struct mutex write_mtx;
};