[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cd73a99e0806041202v592c41e1ya3c9fa51918efb0f@mail.gmail.com>
Date: Wed, 4 Jun 2008 21:02:30 +0200
From: "Andrew Victor" <avictor.za@...il.com>
To: "Alan Cox" <alan@...rguk.ukuu.org.uk>
Cc: "Andrew Morton" <akpm@...ux-foundation.org>, wim@...ana.be,
linux-arm-kernel@...ts.arm.linux.org.uk,
linux-kernel@...r.kernel.org
Subject: Re: AT91SAM9/CAP9 watchdog driver
hi Alan ,
> Every other watchdog behaves as follows
>
> - 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
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.
Regards,
Andrew Victor
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists