1 #ifndef _LINUX_TIMER_H
2 #define _LINUX_TIMER_H
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 #define BLANK_TIMER 0
28 #define BEEP_TIMER 1
29
30 #define SER1_TIMER 2
31 #define SER2_TIMER 3
32 #define SER3_TIMER 4
33 #define SER4_TIMER 5
34
35 #define SER1_TIMEOUT 8
36 #define SER2_TIMEOUT 9
37 #define SER3_TIMEOUT 10
38 #define SER4_TIMEOUT 11
39
40 #define HD_TIMER 16
41 #define FLOPPY_TIMER 17
42 #define SCSI_TIMER 18
43
44 struct timer_struct {
45 unsigned long expires;
46 void (*fn)(void);
47 };
48
49 extern unsigned long timer_active;
50 extern struct timer_struct timer_table[32];
51
52 #endif