Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762143AbYFDTee (ORCPT ); Wed, 4 Jun 2008 15:34:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755749AbYFDTeX (ORCPT ); Wed, 4 Jun 2008 15:34:23 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:42993 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750987AbYFDTeW (ORCPT ); Wed, 4 Jun 2008 15:34:22 -0400 Date: Wed, 4 Jun 2008 20:18:25 +0100 From: Alan Cox To: "Andrew Victor" Cc: "Andrew Morton" , wim@iguana.be, linux-arm-kernel@lists.arm.linux.org.uk, linux-kernel@vger.kernel.org Subject: Re: AT91SAM9/CAP9 watchdog driver Message-ID: <20080604201825.2decc66e@core> In-Reply-To: References: <20080603142316.c53b32b2.akpm@linux-foundation.org> <20080604123642.51449a04@core> <20080604192458.02f76022@core> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.5; x86_64-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 26 > > - If you specify a bogus value it doesn't load > > - If you specify no value you get a valid default > > - If you specify a valid value you get that > > > > I don't believe yours should be different. > > I don't think any other in-kernel watchdog driver has to deal with > write-once hardware. On these processors once the watchdog register That would not be the case. > is programmed, it cannot be disabled or re-programmed. > If the above behaviour is required, then we might aswell remove the > ioctl(WDIOC_SETTIMEOUT) interface for this driver since if the user > wants anything other than the default timeout they would need to pass > it via the kernel command-line or module parameters. Actually quit a few of them deal with various hardware limits by using a software timer to maintain the hardware timer poking. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/