mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
Char: serial167, remove bottomhalf
- Cy_EVENT_OPEN_WAKEUP is simple wake_up - Cy_EVENT_HANGUP is wake_up + tty_hangup, which schedules its own work - Cy_EVENT_WRITE_WAKEUP is tty_wakeup which may be called directly too Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
ccfea3c98a
commit
3099bbc594
2 changed files with 8 additions and 82 deletions
|
@ -37,7 +37,6 @@ struct cyclades_port {
|
|||
int ignore_status_mask;
|
||||
int close_delay;
|
||||
int IER; /* Interrupt Enable Register */
|
||||
unsigned long event;
|
||||
unsigned long last_active;
|
||||
int count; /* # of fd on device */
|
||||
int x_char; /* to be pushed out ASAP */
|
||||
|
@ -49,7 +48,6 @@ struct cyclades_port {
|
|||
int xmit_cnt;
|
||||
int default_threshold;
|
||||
int default_timeout;
|
||||
struct work_struct tqueue;
|
||||
wait_queue_head_t open_wait;
|
||||
wait_queue_head_t close_wait;
|
||||
struct cyclades_monitor mon;
|
||||
|
@ -67,18 +65,6 @@ struct cyclades_port {
|
|||
#define CYGETDEFTIMEOUT 0x435908
|
||||
#define CYSETDEFTIMEOUT 0x435909
|
||||
|
||||
/*
|
||||
* Events are used to schedule things to happen at timer-interrupt
|
||||
* time, instead of at cy interrupt time.
|
||||
*/
|
||||
#define Cy_EVENT_READ_PROCESS 0
|
||||
#define Cy_EVENT_WRITE_WAKEUP 1
|
||||
#define Cy_EVENT_HANGUP 2
|
||||
#define Cy_EVENT_BREAK 3
|
||||
#define Cy_EVENT_OPEN_WAKEUP 4
|
||||
|
||||
|
||||
|
||||
#define CyMaxChipsPerCard 1
|
||||
|
||||
/**** cd2401 registers ****/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue