Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305883
b: refs/heads/master
c: 198ca01
h: refs/heads/master
i:
  305881: 0ad34a2
  305879: 2732483
v: v3
  • Loading branch information
Diego Elio Pettenò authored and Wim Van Sebroeck committed May 23, 2012
1 parent 7643635 commit 8f82ea6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7050bd54997a1606377a1985b508a145ea8c1555
refs/heads/master: 198ca0153412a97e968b5deb67d789000faef129
7 changes: 6 additions & 1 deletion trunk/drivers/watchdog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,12 @@ config IT87_WDT
depends on X86 && EXPERIMENTAL
---help---
This is the driver for the hardware watchdog on the ITE IT8702,
IT8712, IT8716, IT8718, IT8720, IT8721, IT8726 Super I/O chips.
IT8712, IT8716, IT8718, IT8720, IT8721, IT8726 and IT8728
Super I/O chips.

If the driver does not work, then make sure that the game port in
the BIOS is enabled.

This watchdog simply watches your kernel to make sure it doesn't
freeze, and if it does, it reboots your computer after a certain
amount of time.
Expand Down
7 changes: 5 additions & 2 deletions trunk/drivers/watchdog/it87_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
* http://www.ite.com.tw/
*
* Support of the watchdog timers, which are available on
* IT8702, IT8712, IT8716, IT8718, IT8720, IT8721 and IT8726.
* IT8702, IT8712, IT8716, IT8718, IT8720, IT8721, IT8726
* and IT8728.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -84,6 +85,7 @@
#define IT8720_ID 0x8720
#define IT8721_ID 0x8721
#define IT8726_ID 0x8726 /* the data sheet suggest wrongly 0x8716 */
#define IT8728_ID 0x8728

/* GPIO Configuration Registers LDN=0x07 */
#define WDTCTRL 0x71
Expand All @@ -95,7 +97,7 @@
#define WDT_CIRINT 0x80
#define WDT_MOUSEINT 0x40
#define WDT_KYBINT 0x20
#define WDT_GAMEPORT 0x10 /* not in it8718, it8720, it8721 */
#define WDT_GAMEPORT 0x10 /* not in it8718, it8720, it8721, it8728 */
#define WDT_FORCE 0x02
#define WDT_ZERO 0x01

Expand Down Expand Up @@ -616,6 +618,7 @@ static int __init it87_wdt_init(void)
case IT8718_ID:
case IT8720_ID:
case IT8721_ID:
case IT8728_ID:
max_units = 65535;
try_gameport = 0;
break;
Expand Down

0 comments on commit 8f82ea6

Please sign in to comment.