[WATCHDOG] add WDIOC_GETTIMELEFT ioctl
authorWim Van Sebroeck <wim@iguana.be>
Sun, 21 May 2006 10:48:44 +0000 (12:48 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 20 Jun 2006 17:00:30 +0000 (19:00 +0200)
commit58b519f3e5e491d5a3e320dc525f58ac439bdde4
treeefff3a0bd308effbbedce1a50fbb40d71e5b5d96
parente05b59fe7927bc648ac3af3d59dc64a7ee6b22e2
[WATCHDOG] add WDIOC_GETTIMELEFT ioctl

Some watchdog drivers have the ability to report the remaining time
before the system will reboot. With the WDIOC_GETTIMELEFT ioctl
you can now read the time left before the watchdog would reboot
your system.

The following drivers support this new IOCTL:
i8xx_tco.c, pcwd_pci.c and pcwd_usb.c .

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Documentation/watchdog/watchdog-api.txt
drivers/char/watchdog/i8xx_tco.c
drivers/char/watchdog/pcwd_pci.c
drivers/char/watchdog/pcwd_usb.c
include/linux/watchdog.h