aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/wd501p.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/char/watchdog/wd501p.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'drivers/char/watchdog/wd501p.h')
-rw-r--r--drivers/char/watchdog/wd501p.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/drivers/char/watchdog/wd501p.h b/drivers/char/watchdog/wd501p.h
new file mode 100644
index 000000000000..84e60eb74337
--- /dev/null
+++ b/drivers/char/watchdog/wd501p.h
@@ -0,0 +1,52 @@
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#include <linux/config.h>
23
24#define WDT_COUNT0 (io+0)
25#define WDT_COUNT1 (io+1)
26#define WDT_COUNT2 (io+2)
27#define WDT_CR (io+3)
28#define WDT_SR (io+4) /* Start buzzer on PCI write */
29#define WDT_RT (io+5) /* Stop buzzer on PCI write */
30#define WDT_BUZZER (io+6) /* PCI only: rd=disable, wr=enable */
31#define WDT_DC (io+7)
32
33/* The following are only on the PCI card, they're outside of I/O space on
34 * the ISA card: */
35#define WDT_CLOCK (io+12) /* COUNT2: rd=16.67MHz, wr=2.0833MHz */
36/* inverted opto isolated reset output: */
37#define WDT_OPTONOTRST (io+13) /* wr=enable, rd=disable */
38/* opto isolated reset output: */
39#define WDT_OPTORST (io+14) /* wr=enable, rd=disable */
40/* programmable outputs: */
41#define WDT_PROGOUT (io+15) /* wr=enable, rd=disable */
42
43 /* FAN 501 500 */
44#define WDC_SR_WCCR 1 /* Active low */ /* X X X */
45#define WDC_SR_TGOOD 2 /* X X - */
46#define WDC_SR_ISOI0 4 /* X X X */
47#define WDC_SR_ISII1 8 /* X X X */
48#define WDC_SR_FANGOOD 16 /* X - - */
49#define WDC_SR_PSUOVER 32 /* Active low */ /* X X - */
50#define WDC_SR_PSUUNDR 64 /* Active low */ /* X X - */
51#define WDC_SR_IRQ 128 /* Active low */ /* X X X */
52