diff options
author | Alan Cox <alan@redhat.com> | 2008-07-16 16:57:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-20 20:12:38 -0400 |
commit | 77451e53e0a509a98eda272567869cfe96431ba9 (patch) | |
tree | 93b79e0aeebd4533f95235101e44112559cdc8dd /include | |
parent | ae67751785dae388beb31fc24d14870d0d4669d9 (diff) |
cyclades: use tty_port
Switch cyclades to use the new tty_port structure
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cyclades.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/cyclades.h b/include/linux/cyclades.h index 504cb2c3fa9a..a982b74a6ee6 100644 --- a/include/linux/cyclades.h +++ b/include/linux/cyclades.h | |||
@@ -550,11 +550,11 @@ struct cyclades_icount { | |||
550 | 550 | ||
551 | struct cyclades_port { | 551 | struct cyclades_port { |
552 | int magic; | 552 | int magic; |
553 | struct tty_port port; | ||
553 | struct cyclades_card *card; | 554 | struct cyclades_card *card; |
554 | int line; | 555 | int line; |
555 | int flags; /* defined in tty.h */ | 556 | int flags; /* defined in tty.h */ |
556 | int type; /* UART type */ | 557 | int type; /* UART type */ |
557 | struct tty_struct *tty; | ||
558 | int read_status_mask; | 558 | int read_status_mask; |
559 | int ignore_status_mask; | 559 | int ignore_status_mask; |
560 | int timeout; | 560 | int timeout; |
@@ -569,11 +569,8 @@ struct cyclades_port { | |||
569 | u8 x_char; /* to be pushed out ASAP */ | 569 | u8 x_char; /* to be pushed out ASAP */ |
570 | int close_delay; | 570 | int close_delay; |
571 | unsigned short closing_wait; | 571 | unsigned short closing_wait; |
572 | int count; /* # of fd on device */ | ||
573 | int breakon; | 572 | int breakon; |
574 | int breakoff; | 573 | int breakoff; |
575 | int blocked_open; /* # of blocked opens */ | ||
576 | unsigned char *xmit_buf; | ||
577 | int xmit_head; | 574 | int xmit_head; |
578 | int xmit_tail; | 575 | int xmit_tail; |
579 | int xmit_cnt; | 576 | int xmit_cnt; |
@@ -583,8 +580,6 @@ struct cyclades_port { | |||
583 | struct cyclades_monitor mon; | 580 | struct cyclades_monitor mon; |
584 | struct cyclades_idle_stats idle_stats; | 581 | struct cyclades_idle_stats idle_stats; |
585 | struct cyclades_icount icount; | 582 | struct cyclades_icount icount; |
586 | wait_queue_head_t open_wait; | ||
587 | wait_queue_head_t close_wait; | ||
588 | struct completion shutdown_wait; | 583 | struct completion shutdown_wait; |
589 | wait_queue_head_t delta_msr_wait; | 584 | wait_queue_head_t delta_msr_wait; |
590 | int throttle; | 585 | int throttle; |