diff options
author | Tilman Schmidt <tilman@imap.cc> | 2006-04-11 01:55:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 09:18:49 -0400 |
commit | ec81b5e6294088dc4738d0e8c2316c0dc081215c (patch) | |
tree | c78b16feffafeed5ffa77da2d5afb5a6552a2a25 /drivers/isdn/gigaset/gigaset.h | |
parent | bd0d6ef944f992c584152dbfca99188107bf2f8d (diff) |
[PATCH] isdn4linux: Siemens Gigaset drivers: timer usage
With Hansjoerg Lipp <hjlipp@web.de>
Correct timer usage in the Gigaset drivers to take advantage of the existing
setup_timer() function, and use milliseconds as unit.
Signed-off-by: Hansjoerg Lipp <hjlipp@web.de>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/gigaset/gigaset.h')
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index d34f0023ac74..bc5a6294f0c0 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -58,7 +58,7 @@ | |||
58 | #define MAX_TIMER_INDEX 1000 | 58 | #define MAX_TIMER_INDEX 1000 |
59 | #define MAX_SEQ_INDEX 1000 | 59 | #define MAX_SEQ_INDEX 1000 |
60 | 60 | ||
61 | #define GIG_TICK (HZ / 10) | 61 | #define GIG_TICK 100 /* in milliseconds */ |
62 | 62 | ||
63 | /* timeout values (unit: 1 sec) */ | 63 | /* timeout values (unit: 1 sec) */ |
64 | #define INIT_TIMEOUT 1 | 64 | #define INIT_TIMEOUT 1 |