Skip to content

Commit

Permalink
watchdog: it8712f_wdt: Add comments for config/control register names
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Juhani Lindfors <timo.lindfors@iki.fi>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
lindi2 authored and Wim Van Sebroeck committed Oct 28, 2010
1 parent dfb0b8e commit f0fc107
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/watchdog/it8712f_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ static unsigned short address;
#define WDT_CONFIG 0x72 /* WDT Register: Configuration */
#define WDT_TIMEOUT 0x73 /* WDT Register: Timeout Value */

#define WDT_RESET_GAME 0x10
#define WDT_RESET_KBD 0x20
#define WDT_RESET_MOUSE 0x40
#define WDT_RESET_CIR 0x80
#define WDT_RESET_GAME 0x10 /* Reset timer on read or write to game port */
#define WDT_RESET_KBD 0x20 /* Reset timer on keyboard interrupt */
#define WDT_RESET_MOUSE 0x40 /* Reset timer on mouse interrupt */
#define WDT_RESET_CIR 0x80 /* Reset timer on consumer IR interrupt */

#define WDT_UNIT_SEC 0x80 /* If 0 in MINUTES */

#define WDT_OUT_PWROK 0x10
#define WDT_OUT_KRST 0x40
#define WDT_OUT_PWROK 0x10 /* Pulse PWROK on timeout */
#define WDT_OUT_KRST 0x40 /* Pulse reset on timeout */

static int superio_inb(int reg)
{
Expand Down

0 comments on commit f0fc107

Please sign in to comment.