Patches to include/linux/watchdog.h to document the functions
Subsystems (2)
The include/linux/watchdog.h is, well, a little hard to read and understand. I have attached a patch that documents this as best as I can understand it. It also add a few small things. It would be nice to get all the watchdogs to conform to one interface for things like setting the timeout, they all seem to have their own unique ways of doing a lot of things.
-Corey
drivers/char/pcwd.c renamed from drivers/char/pcwd.c.watchdog +2 -0
@@ -250,6 +250,8 @@return -ENOTTY ;case WDIOC_GETSUPPORT : +if (supports_temp) + ident.options |=WDIOF_GETTEMP ; i =copy_to_user ((void *)arg, &ident,sizeof (ident));return i ? -EFAULT :0 ;
include/linux/watchdog.h renamed from include/linux/watchdog.h.watchdog +53 -9
84 lines not on this page · raw message