diff options
Diffstat (limited to 'drivers/watchdog/f71808e_wdt.c')
-rw-r--r-- | drivers/watchdog/f71808e_wdt.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/watchdog/f71808e_wdt.c b/drivers/watchdog/f71808e_wdt.c index 7e5c266cda48..65e579635dba 100644 --- a/drivers/watchdog/f71808e_wdt.c +++ b/drivers/watchdog/f71808e_wdt.c | |||
@@ -308,6 +308,12 @@ static int watchdog_start(void) | |||
308 | superio_set_bit(watchdog.sioaddr, 0x29, 1); | 308 | superio_set_bit(watchdog.sioaddr, 0x29, 1); |
309 | break; | 309 | break; |
310 | 310 | ||
311 | case f71889fg: | ||
312 | /* set pin 40 to WDTRST# */ | ||
313 | superio_outb(watchdog.sioaddr, 0x2b, | ||
314 | superio_inb(watchdog.sioaddr, 0x2b) & 0xcf); | ||
315 | break; | ||
316 | |||
311 | default: | 317 | default: |
312 | /* | 318 | /* |
313 | * 'default' label to shut up the compiler and catch | 319 | * 'default' label to shut up the compiler and catch |
@@ -708,8 +714,10 @@ static int __init f71808e_find(int sioaddr) | |||
708 | case SIO_F71882_ID: | 714 | case SIO_F71882_ID: |
709 | watchdog.type = f71882fg; | 715 | watchdog.type = f71882fg; |
710 | break; | 716 | break; |
711 | case SIO_F71862_ID: | ||
712 | case SIO_F71889_ID: | 717 | case SIO_F71889_ID: |
718 | watchdog.type = f71889fg; | ||
719 | break; | ||
720 | case SIO_F71862_ID: | ||
713 | /* These have a watchdog, though it isn't implemented (yet). */ | 721 | /* These have a watchdog, though it isn't implemented (yet). */ |
714 | err = -ENOSYS; | 722 | err = -ENOSYS; |
715 | goto exit; | 723 | goto exit; |