
From: Patrice Bouchand <PBouchand@cyberdeck.com>

ibwdt_ping(): we should write the current timeout's index into the holdoff
register, not the timeout's value in seconds.


---

 25-akpm/drivers/char/watchdog/ib700wdt.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/char/watchdog/ib700wdt.c~ib700wdt-fix drivers/char/watchdog/ib700wdt.c
--- 25/drivers/char/watchdog/ib700wdt.c~ib700wdt-fix	2004-05-11 01:29:11.131036528 -0700
+++ 25-akpm/drivers/char/watchdog/ib700wdt.c	2004-05-11 01:29:11.134036072 -0700
@@ -135,7 +135,7 @@ static void
 ibwdt_ping(void)
 {
 	/* Write a watchdog value */
-	outb_p(wd_times[wd_margin], WDT_START);
+	outb_p(wd_margin, WDT_START);
 }
 
 static ssize_t

_
