Re: A case of watchdog+LED shared GPIO pin

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

 



On Sun 2018-03-04 22:45:35, Ильяс Гасанов wrote:
> 2018-03-04 22:19 GMT+03:00 Pavel Machek <pavel@xxxxxx>:
> > Improving WDIOC_SETTIMEOUT is obvious solution. I'd go for that.
> 
> Question is, then, - how to do it in a backwards-compatible manner?
> There is very likely to be some userspace software out there which
> relies on the assumption of the currently used whole seconds semantics
> being in effect.
> 
> Add a new millisecond argument? But how to detect its presence in the handler?
> 
> Introduce a new ioctl? But how to do it neatly and reasonably?

New ioctl. Start from the old one. Keep it neat :-). Negotiate with wd
maintainers if that's ok with them, first.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital 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