Messages in this thread | | | Date | Wed, 4 Jun 2008 20:18:25 +0100 | From | Alan Cox <> | Subject | Re: AT91SAM9/CAP9 watchdog driver |
| |
> > - 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
| |