Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220566
b: refs/heads/master
c: dee00ab
h: refs/heads/master
v: v3
  • Loading branch information
Giel van Schijndel authored and Wim Van Sebroeck committed Oct 28, 2010
1 parent 674707e commit 48da65b
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: 29c3e8c8d16b74e91da9be445ff3e14136957753
refs/heads/master: dee00abbbcab97b8ee3bbafb5e786dde83e26741
4 changes: 2 additions & 2 deletions trunk/drivers/watchdog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -409,11 +409,11 @@ config ALIM7101_WDT
Most people will say N.

config F71808E_WDT
tristate "Fintek F71808E and F71882FG Watchdog"
tristate "Fintek F71808E, F71882FG and F71889FG Watchdog"
depends on X86 && EXPERIMENTAL
help
This is the driver for the hardware watchdog on the Fintek
F71808E and F71882FG Super I/O controllers.
F71808E, F71882FG and F71889FG Super I/O controllers.

You can compile this driver directly into the kernel, or use
it as a module. The module will be called f71808e_wdt.
Expand Down
10 changes: 9 additions & 1 deletion trunk/drivers/watchdog/f71808e_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,12 @@ static int watchdog_start(void)
superio_set_bit(watchdog.sioaddr, 0x29, 1);
break;

case f71889fg:
/* set pin 40 to WDTRST# */
superio_outb(watchdog.sioaddr, 0x2b,
superio_inb(watchdog.sioaddr, 0x2b) & 0xcf);
break;

default:
/*
* 'default' label to shut up the compiler and catch
Expand Down Expand Up @@ -708,8 +714,10 @@ static int __init f71808e_find(int sioaddr)
case SIO_F71882_ID:
watchdog.type = f71882fg;
break;
case SIO_F71862_ID:
case SIO_F71889_ID:
watchdog.type = f71889fg;
break;
case SIO_F71862_ID:
/* These have a watchdog, though it isn't implemented (yet). */
err = -ENOSYS;
goto exit;
Expand Down

0 comments on commit 48da65b

Please sign in to comment.