Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155165
b: refs/heads/master
c: cf1eaab
h: refs/heads/master
i:
  155163: eb0fa0d
v: v3
  • Loading branch information
Slobodan Tomić authored and Wim Van Sebroeck committed Jul 9, 2009
1 parent d5421ab commit 0ef67d9
Show file tree
Hide file tree
Showing 2 changed files with 6 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: a6f052e39c3832b5842c4f44d9b3a4295dacfc4a
refs/heads/master: cf1eaab2525e8ae1d53eaf923981c96cb31e57c8
5 changes: 5 additions & 0 deletions trunk/drivers/watchdog/w83627hf_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ static void w83627hf_select_wd_register(void)
c = ((inb_p(WDT_EFDR) & 0xf7) | 0x04); /* select WDT0 */
outb_p(0x2b, WDT_EFER);
outb_p(c, WDT_EFDR); /* set GPIO3 to WDT0 */
} else if (c == 0x88) { /* W83627EHF */
outb_p(0x2d, WDT_EFER); /* select GPIO5 */
c = inb_p(WDT_EFDR) & ~0x01; /* PIN77 -> WDT0# */
outb_p(0x2d, WDT_EFER);
outb_p(c, WDT_EFDR); /* set GPIO5 to WDT0 */
}

outb_p(0x07, WDT_EFER); /* point to logical device number reg */
Expand Down

0 comments on commit 0ef67d9

Please sign in to comment.