diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2008-02-07 03:16:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 11:42:34 -0500 |
commit | d2e7a4b66d762cad383c5469c1e8b6076792ab6a (patch) | |
tree | 8516adc2f15b67cfc5b802912b379357928eb48f /include/linux | |
parent | 1386a820b32285583414a8db3a99305e7ebe8377 (diff) |
Char: esp, remove hangup and wakeup bottomhalves
There is no need to schedule a bottomhalf for either of them. One is fast
and the another schedules a bottomhalf itself.
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/hayesesp.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/hayesesp.h b/include/linux/hayesesp.h index b436be7a7fff..2177ee5b2fe2 100644 --- a/include/linux/hayesesp.h +++ b/include/linux/hayesesp.h | |||
@@ -71,7 +71,6 @@ struct hayes_esp_config { | |||
71 | #define ESP_STAT_NEVER_DMA 0x08 | 71 | #define ESP_STAT_NEVER_DMA 0x08 |
72 | #define ESP_STAT_USE_PIO 0x10 | 72 | #define ESP_STAT_USE_PIO 0x10 |
73 | 73 | ||
74 | #define ESP_EVENT_WRITE_WAKEUP 0 | ||
75 | #define ESP_MAGIC 0x53ee | 74 | #define ESP_MAGIC 0x53ee |
76 | #define ESP_XMIT_SIZE 4096 | 75 | #define ESP_XMIT_SIZE 4096 |
77 | 76 | ||
@@ -92,7 +91,6 @@ struct esp_struct { | |||
92 | unsigned short closing_wait2; | 91 | unsigned short closing_wait2; |
93 | int IER; /* Interrupt Enable Register */ | 92 | int IER; /* Interrupt Enable Register */ |
94 | int MCR; /* Modem control register */ | 93 | int MCR; /* Modem control register */ |
95 | unsigned long event; | ||
96 | unsigned long last_active; | 94 | unsigned long last_active; |
97 | int line; | 95 | int line; |
98 | int count; /* # of fd on device */ | 96 | int count; /* # of fd on device */ |
@@ -101,8 +99,6 @@ struct esp_struct { | |||
101 | int xmit_head; | 99 | int xmit_head; |
102 | int xmit_tail; | 100 | int xmit_tail; |
103 | int xmit_cnt; | 101 | int xmit_cnt; |
104 | struct work_struct tqueue; | ||
105 | struct work_struct tqueue_hangup; | ||
106 | wait_queue_head_t open_wait; | 102 | wait_queue_head_t open_wait; |
107 | wait_queue_head_t close_wait; | 103 | wait_queue_head_t close_wait; |
108 | wait_queue_head_t delta_msr_wait; | 104 | wait_queue_head_t delta_msr_wait; |