2 * Industrial Computer Source WDT500/501 driver
4 * (c) Copyright 1995 CymruNET Ltd
12 * http://www.cymru.net
14 * This driver is provided under the GNU General Public License, incorporated
15 * herein by reference. The driver is provided without warranty or
22 #include <linux/config.h>
24 #define WDT_COUNT0 (io+0)
25 #define WDT_COUNT1 (io+1)
26 #define WDT_COUNT2 (io+2)
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 */
33 /* The following are only on the PCI card, they're outside of I/O space on
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 */
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 */