login
Header Space

 
 

Re: w83697hf_wdt.c stops watchdog on load

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Samuel Tardieu <sam@...>
Cc: Wim Van Sebroeck <wim@...>, <junker@...>, LKML <linux-kernel@...>
Date: Wednesday, March 12, 2008 - 7:54 am

Samuel Tardieu wrote:

When doing this it would be useful to print a warning iif the watchdog was running.
I.E. the following would be possible for the w83697:

init() {
  if (watchdog_already_running) {
     printk("warning, stopping watchdog. Use the nodisable option to keep running");
     disable_watchdog();
  }
}

See the w83627 driver for how to determine watchdog is running.


cool, thanks.

Pádraig.

p.s. I'm still not sure it should default to turning off.
It would be unusual for userspace to take over 60s to _start_
If that was the case then the user shouldn't enable the watchdog in the BIOS at all.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: w83697hf_wdt.c stops watchdog on load, Wim Van Sebroeck, (Tue Mar 11, 4:22 pm)
Re: w83697hf_wdt.c stops watchdog on load, Samuel Tardieu, (Tue Mar 11, 4:28 pm)
Re: w83697hf_wdt.c stops watchdog on load, Pádraig Brady, (Wed Mar 12, 7:54 am)
Re: w83697hf_wdt.c stops watchdog on load, Samuel Tardieu, (Wed Mar 12, 8:00 am)
Re: w83697hf_wdt.c stops watchdog on load, Wim Van Sebroeck, (Tue Mar 11, 5:09 pm)
speck-geostationary