From owner-freebsd-current@FreeBSD.ORG Sun Dec 10 13:03:53 2006 Return-Path: X-Original-To: current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5931A16A47B for ; Sun, 10 Dec 2006 13:03:53 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90C4743CA1 for ; Sun, 10 Dec 2006 13:02:24 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 15E18170C5; Sun, 10 Dec 2006 13:03:32 +0000 (UTC) To: Nick Hibma From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 10 Dec 2006 11:04:39 +0100." <20061210110419.H42195@localhost> Date: Sun, 10 Dec 2006 13:03:27 +0000 Message-ID: <12904.1165755807@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: FreeBSD CURRENT Mailing List Subject: Re: Slight interface change on the watchdog fido X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2006 13:03:53 -0000 In message <20061210110419.H42195@localhost>, Nick Hibma writes: > cognet@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@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.