Re: Slight interface change on the watchdog fido

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sun, 10 Dec 2006 13:03:27 +0000
In message <20061210110419.H42195_at_localhost>, Nick Hibma writes:

>   cognet_at_freebsd.org	i80321_wdog.c (*)
>(*) The i80321_wdog.c cannot be disarmed. Is this correct?

If true, then this is a poster-child for the WD_PASSIVE need, the idea
being that if userland says "I'll not pat the dog anymore" and the hardware
cannot be disabled, the kernel shoul do it.

>- If the timeout value passed is >0 and acceptable arm the watchdog and set the 
>*error to 0 (a watchdog is armed).

Agreed, the WD_ACTIVE/WD_PASSIVE shouldn't matter to the drivers.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Sun Dec 10 2006 - 12:03:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:03 UTC