Re: [RFC 4/4] watchdog: ni9x3x_wdt: Let user control watchdog mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 05, 2016 at 03:03:28PM -0600, Kyle Roeschley wrote:
> On Fri, Feb 05, 2016 at 02:27:20PM -0600, Josh Cartwright wrote:
> > On Thu, Feb 04, 2016 at 07:28:03PM -0600, Kyle Roeschley wrote:
> > > When first powering on, the NI 903x/913x watchdog starts in boot mode.
> > > If not switched from boot mode to user mode within 30 seconds of power
> > > on, the device status LED indicates an unrecoverable error. While before
> > > this was handled automatically, now add a module parameter to disable
> > > this behavior.
> > > 
> > > In order to still have a useful watchdog, also add a R/W sysfs attribute
> > > `mode' which can be used to switch the watchdog mode from boot to user
> > > mode (but not user to boot mode).
> > 
> > Hmm.  Instead of an attribute, why don't we just ensure the watchdog is
> > in "user" mode in start()?
> > 
> >   Josh
> 
> Seems like a good idea, except for the fact that we then lose a way to query
> the current watchdog mode.

Is that a problem?  It isn't clear what a user would even do with that
information if they had it.

  Josh

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux