diff options
Diffstat (limited to 'include/linux/cyclades.h')
| -rw-r--r-- | include/linux/cyclades.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/include/linux/cyclades.h b/include/linux/cyclades.h index 504cb2c3fa9a..2d3d1e04ba92 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; |
| @@ -567,13 +567,8 @@ struct cyclades_port { | |||
| 567 | int chip_rev; | 567 | int chip_rev; |
| 568 | int custom_divisor; | 568 | int custom_divisor; |
| 569 | u8 x_char; /* to be pushed out ASAP */ | 569 | u8 x_char; /* to be pushed out ASAP */ |
| 570 | int close_delay; | ||
| 571 | unsigned short closing_wait; | ||
| 572 | int count; /* # of fd on device */ | ||
| 573 | int breakon; | 570 | int breakon; |
| 574 | int breakoff; | 571 | int breakoff; |
| 575 | int blocked_open; /* # of blocked opens */ | ||
| 576 | unsigned char *xmit_buf; | ||
| 577 | int xmit_head; | 572 | int xmit_head; |
| 578 | int xmit_tail; | 573 | int xmit_tail; |
| 579 | int xmit_cnt; | 574 | int xmit_cnt; |
| @@ -583,16 +578,14 @@ struct cyclades_port { | |||
| 583 | struct cyclades_monitor mon; | 578 | struct cyclades_monitor mon; |
| 584 | struct cyclades_idle_stats idle_stats; | 579 | struct cyclades_idle_stats idle_stats; |
| 585 | struct cyclades_icount icount; | 580 | struct cyclades_icount icount; |
| 586 | wait_queue_head_t open_wait; | ||
| 587 | wait_queue_head_t close_wait; | ||
| 588 | struct completion shutdown_wait; | 581 | struct completion shutdown_wait; |
| 589 | wait_queue_head_t delta_msr_wait; | 582 | wait_queue_head_t delta_msr_wait; |
| 590 | int throttle; | 583 | int throttle; |
| 591 | }; | 584 | }; |
| 592 | 585 | ||
| 593 | #define CLOSING_WAIT_DELAY 30*HZ | 586 | #define CLOSING_WAIT_DELAY 30*HZ |
| 594 | #define CY_CLOSING_WAIT_NONE 65535 | 587 | #define CY_CLOSING_WAIT_NONE ASYNC_CLOSING_WAIT_NONE |
| 595 | #define CY_CLOSING_WAIT_INF 0 | 588 | #define CY_CLOSING_WAIT_INF ASYNC_CLOSING_WAIT_INF |
| 596 | 589 | ||
| 597 | 590 | ||
| 598 | #define CyMAX_CHIPS_PER_CARD 8 | 591 | #define CyMAX_CHIPS_PER_CARD 8 |
