Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7112
b: refs/heads/master
c: 93642ec
h: refs/heads/master
v: v3
  • Loading branch information
P@Draig Brady authored and Wim Van Sebroeck committed Sep 3, 2005
1 parent 16bb676 commit 95db5f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 94f1e9f316b10972b77a64344006c3bf8a4929b4
refs/heads/master: 93642ecd463df30d032da8ac37c2676cee4ad876
6 changes: 6 additions & 0 deletions trunk/drivers/char/watchdog/w83627hf_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ w83627hf_init(void)

w83627hf_select_wd_register();

outb_p(0xF6, WDT_EFER); /* Select CRF6 */
t=inb_p(WDT_EFDR); /* read CRF6 */
if (t != 0) {
printk (KERN_INFO PFX "Watchdog already running. Resetting timeout to %d sec\n", timeout);
outb_p(timeout, WDT_EFDR); /* Write back to CRF6 */
}
outb_p(0xF5, WDT_EFER); /* Select CRF5 */
t=inb_p(WDT_EFDR); /* read CRF5 */
t&=~0x0C; /* set second mode & disable keyboard turning off watchdog */
Expand Down

0 comments on commit 95db5f3

Please sign in to comment.