diff options
author | Alan Cox <alan@linux.intel.com> | 2012-05-11 10:00:19 (GMT) |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-05-30 05:54:40 (GMT) |
commit | 2bbeed016dd96045ec82c3a309afddcc3a0db1d2 (patch) | |
tree | 291e73618f5b088702308210a1fc6134a21dba4f /include | |
parent | 45f5fed30a6460ec58f159ff297a2974153a97de (diff) | |
download | linux-2bbeed016dd96045ec82c3a309afddcc3a0db1d2.tar.xz |
watchdog: Add a flag to indicate the watchdog doesn't reboot things
Some watchdogs merely trigger external alarms and controls. In a managed
environment this is very useful but we want drivers to be able to figure
out which is which now multiple dogs can be loaded. Thus add an ALARMONLY
feature flag.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/watchdog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/watchdog.h b/include/linux/watchdog.h index 508d563..32678a5 100644 --- a/include/linux/watchdog.h +++ b/include/linux/watchdog.h @@ -45,6 +45,8 @@ struct watchdog_info { #define WDIOF_SETTIMEOUT 0x0080 /* Set timeout (in seconds) */ #define WDIOF_MAGICCLOSE 0x0100 /* Supports magic close char */ #define WDIOF_PRETIMEOUT 0x0200 /* Pretimeout (in seconds), get/set */ +#define WDIOF_ALARMONLY 0x0400 /* Watchdog triggers a management or + other external alarm not a reboot */ #define WDIOF_KEEPALIVEPING 0x8000 /* Keep alive ping reply */ #define WDIOS_DISABLECARD 0x0001 /* Turn off the watchdog timer */ |