From a8e11f1a078f9305c92d5475f6beab64081ff4cd Mon Sep 17 00:00:00 2001 From: Timo Juhani Lindfors Date: Thu, 30 Sep 2010 17:08:03 +0300 Subject: [PATCH] --- yaml --- r: 220563 b: refs/heads/master c: f0fc10745a48c766ea5d6d83a6a371a223986bb0 h: refs/heads/master i: 220561: 90b1d9eda76f88a17ff4400cf993e5b1114d245d 220559: ac11851ff52f2e5102a9565b66d4230d4ef7f954 v: v3 --- [refs] | 2 +- trunk/drivers/watchdog/it8712f_wdt.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index ee5d53f21517..86afeafacc2b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dfb0b8eae1f78c7d0cf7c8abe6c84ff8cefde50e +refs/heads/master: f0fc10745a48c766ea5d6d83a6a371a223986bb0 diff --git a/trunk/drivers/watchdog/it8712f_wdt.c b/trunk/drivers/watchdog/it8712f_wdt.c index f52c162b1bea..b08fae65bb0e 100644 --- a/trunk/drivers/watchdog/it8712f_wdt.c +++ b/trunk/drivers/watchdog/it8712f_wdt.c @@ -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) {