History

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.

Alan Cox committed 14 years ago

Commit 2bbeed01 parent 45f5fed1 file · +2 −0Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/linux/watchdog.h+2−0
@@ -45,6 +45,8 @@ struct watchdog_info { · 44 unmodified lines
4545 #define WDIOF_SETTIMEOUT 0x0080 /* Set timeout (in seconds) */
4646 #define WDIOF_MAGICCLOSE 0x0100 /* Supports magic close char */
4747 #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 */
4850 #define WDIOF_KEEPALIVEPING 0x8000 /* Keep alive ping reply */
4951
5052 #define WDIOS_DISABLECARD 0x0001 /* Turn off the watchdog timer */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t