aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/it8712f_wdt.c
diff options
context:
space:
mode:
authorTimo Juhani Lindfors <timo.lindfors@iki.fi>2010-09-30 10:08:03 -0400
committerWim Van Sebroeck <wim@iguana.be>2010-10-28 17:42:14 -0400
commitf0fc10745a48c766ea5d6d83a6a371a223986bb0 (patch)
tree2af00fc848371d7ed73787499424e26e9788ff93 /drivers/watchdog/it8712f_wdt.c
parentdfb0b8eae1f78c7d0cf7c8abe6c84ff8cefde50e (diff)
watchdog: it8712f_wdt: Add comments for config/control register names
Signed-off-by: Timo Juhani Lindfors <timo.lindfors@iki.fi> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/it8712f_wdt.c')
-rw-r--r--drivers/watchdog/it8712f_wdt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/watchdog/it8712f_wdt.c b/drivers/watchdog/it8712f_wdt.c
index f52c162b1bea..b08fae65bb0e 100644
--- a/drivers/watchdog/it8712f_wdt.c
+++ b/drivers/watchdog/it8712f_wdt.c
@@ -75,15 +75,15 @@ static unsigned short address;
75#define WDT_CONFIG 0x72 /* WDT Register: Configuration */ 75#define WDT_CONFIG 0x72 /* WDT Register: Configuration */
76#define WDT_TIMEOUT 0x73 /* WDT Register: Timeout Value */ 76#define WDT_TIMEOUT 0x73 /* WDT Register: Timeout Value */
77 77
78#define WDT_RESET_GAME 0x10 78#define WDT_RESET_GAME 0x10 /* Reset timer on read or write to game port */
79#define WDT_RESET_KBD 0x20 79#define WDT_RESET_KBD 0x20 /* Reset timer on keyboard interrupt */
80#define WDT_RESET_MOUSE 0x40 80#define WDT_RESET_MOUSE 0x40 /* Reset timer on mouse interrupt */
81#define WDT_RESET_CIR 0x80 81#define WDT_RESET_CIR 0x80 /* Reset timer on consumer IR interrupt */
82 82
83#define WDT_UNIT_SEC 0x80 /* If 0 in MINUTES */ 83#define WDT_UNIT_SEC 0x80 /* If 0 in MINUTES */
84 84
85#define WDT_OUT_PWROK 0x10 85#define WDT_OUT_PWROK 0x10 /* Pulse PWROK on timeout */
86#define WDT_OUT_KRST 0x40 86#define WDT_OUT_KRST 0x40 /* Pulse reset on timeout */
87 87
88static int superio_inb(int reg) 88static int superio_inb(int reg)
89{ 89{