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.
Unified · Split
| @@ -45,6 +45,8 @@ struct watchdog_info { · 44 unmodified lines | ||
| 45 | 45 | #define WDIOF_SETTIMEOUT 0x0080 /* Set timeout (in seconds) */ |
| 46 | 46 | #define WDIOF_MAGICCLOSE 0x0100 /* Supports magic close char */ |
| 47 | 47 | #define WDIOF_PRETIMEOUT 0x0200 /* Pretimeout (in seconds), get/set */ |
| 48 | +#define WDIOF_ALARMONLY 0x0400 /* Watchdog triggers a management or | |
| 49 | + other external alarm not a reboot */ | |
| 48 | 50 | #define WDIOF_KEEPALIVEPING 0x8000 /* Keep alive ping reply */ |
| 49 | 51 | |
| 50 | 52 | #define WDIOS_DISABLECARD 0x0001 /* Turn off the watchdog timer */ |