diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2007-08-17 04:38:02 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2007-10-18 06:39:03 -0400 |
commit | b7e04f8c61a46d742de23af5d7ca2b41b33e40ac (patch) | |
tree | c52a7ea568648e2d8ed0d423098b42298de2058b /drivers/watchdog/wd501p.h | |
parent | d85714d81cc0408daddb68c10f7fd69eafe7c213 (diff) |
mv watchdog tree under drivers
move watchdog tree from drivers/char/watchdog to drivers/watchdog.
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/wd501p.h')
-rw-r--r-- | drivers/watchdog/wd501p.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/drivers/watchdog/wd501p.h b/drivers/watchdog/wd501p.h new file mode 100644 index 000000000000..a4504f40394d --- /dev/null +++ b/drivers/watchdog/wd501p.h | |||
@@ -0,0 +1,51 @@ | |||
1 | /* | ||
2 | * Industrial Computer Source WDT500/501 driver | ||
3 | * | ||
4 | * (c) Copyright 1995 CymruNET Ltd | ||
5 | * Innovation Centre | ||
6 | * Singleton Park | ||
7 | * Swansea | ||
8 | * Wales | ||
9 | * UK | ||
10 | * SA2 8PP | ||
11 | * | ||
12 | * http://www.cymru.net | ||
13 | * | ||
14 | * This driver is provided under the GNU General Public License, incorporated | ||
15 | * herein by reference. The driver is provided without warranty or | ||
16 | * support. | ||
17 | * | ||
18 | * Release 0.04. | ||
19 | * | ||
20 | */ | ||
21 | |||
22 | |||
23 | #define WDT_COUNT0 (io+0) | ||
24 | #define WDT_COUNT1 (io+1) | ||
25 | #define WDT_COUNT2 (io+2) | ||
26 | #define WDT_CR (io+3) | ||
27 | #define WDT_SR (io+4) /* Start buzzer on PCI write */ | ||
28 | #define WDT_RT (io+5) /* Stop buzzer on PCI write */ | ||
29 | #define WDT_BUZZER (io+6) /* PCI only: rd=disable, wr=enable */ | ||
30 | #define WDT_DC (io+7) | ||
31 | |||
32 | /* The following are only on the PCI card, they're outside of I/O space on | ||
33 | * the ISA card: */ | ||
34 | #define WDT_CLOCK (io+12) /* COUNT2: rd=16.67MHz, wr=2.0833MHz */ | ||
35 | /* inverted opto isolated reset output: */ | ||
36 | #define WDT_OPTONOTRST (io+13) /* wr=enable, rd=disable */ | ||
37 | /* opto isolated reset output: */ | ||
38 | #define WDT_OPTORST (io+14) /* wr=enable, rd=disable */ | ||
39 | /* programmable outputs: */ | ||
40 | #define WDT_PROGOUT (io+15) /* wr=enable, rd=disable */ | ||
41 | |||
42 | /* FAN 501 500 */ | ||
43 | #define WDC_SR_WCCR 1 /* Active low */ /* X X X */ | ||
44 | #define WDC_SR_TGOOD 2 /* X X - */ | ||
45 | #define WDC_SR_ISOI0 4 /* X X X */ | ||
46 | #define WDC_SR_ISII1 8 /* X X X */ | ||
47 | #define WDC_SR_FANGOOD 16 /* X - - */ | ||
48 | #define WDC_SR_PSUOVER 32 /* Active low */ /* X X - */ | ||
49 | #define WDC_SR_PSUUNDR 64 /* Active low */ /* X X - */ | ||
50 | #define WDC_SR_IRQ 128 /* Active low */ /* X X X */ | ||
51 | |||