summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-29 09:01:08 -0600
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-29 09:01:08 -0600
commite6926b1210b14eb42095de4c87c28500556a4fc9 (patch)
tree6e9899775fd15fb70e12b464c2840f7437faedcd /include/linux
parent942e661203a2cb6f6bad3df5be2ad11b6121f350 (diff)
ISDN: New timer handling for read timer
Again, use a per ttyI timer handler to feed arrived data into the ttyI. Really, there shouldn't be the need for any timer at all, rather working flow control, but that'll take a bit to fix.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/isdn.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/isdn.h b/include/linux/isdn.h
index f880d2581520..2f429e27a007 100644
--- a/include/linux/isdn.h
+++ b/include/linux/isdn.h
@@ -235,11 +235,6 @@ typedef struct {
#define USG_MODEMORVOICE(x) (((x & ISDN_USAGE_MASK)==ISDN_USAGE_MODEM) || \
((x & ISDN_USAGE_MASK)==ISDN_USAGE_VOICE) )
-/* Timer-delays and scheduling-flags */
-#define ISDN_TIMER_RES 4 /* Main Timer-Resolution */
-#define ISDN_TIMER_MODEMREAD 1
-#define ISDN_TIMER_FAST (ISDN_TIMER_MODEMREAD)
-
/* GLOBAL_FLAGS */
#define ISDN_GLOBAL_STOPPED 1
@@ -355,6 +350,7 @@ typedef struct modem_info {
struct timer_list escape_timer; /* to recognize +++ escape */
struct timer_list ring_timer; /* for writing 'RING' responses */
struct timer_list connect_timer; /* waiting for CONNECT */
+ struct timer_list read_timer; /* read incoming data */
struct termios normal_termios; /* For saving termios structs */
struct termios callout_termios;
wait_queue_head_t open_wait, close_wait;
@@ -409,7 +405,6 @@ typedef struct isdn_devt {
int global_flags;
infostruct *infochain; /* List of open info-devs. */
wait_queue_head_t info_waitq; /* Wait-Queue for isdninfo */
- struct timer_list timer; /* Misc.-function Timer */
struct task_struct *profd; /* For iprofd */
struct semaphore sem; /* serialize list access*/
unsigned long global_features;