Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ipmi/ipmi.c
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | |||||
static int wd_shutdown_countdown = 0; /* sec */ | static int wd_shutdown_countdown = 0; /* sec */ | ||||
static int wd_startup_countdown = 0; /* sec */ | static int wd_startup_countdown = 0; /* sec */ | ||||
static int wd_pretimeout_countdown = 120; /* sec */ | static int wd_pretimeout_countdown = 120; /* sec */ | ||||
static int cycle_wait = 10; /* sec */ | static int cycle_wait = 10; /* sec */ | ||||
static SYSCTL_NODE(_hw, OID_AUTO, ipmi, CTLFLAG_RD, 0, | static SYSCTL_NODE(_hw, OID_AUTO, ipmi, CTLFLAG_RD, 0, | ||||
"IPMI driver parameters"); | "IPMI driver parameters"); | ||||
SYSCTL_INT(_hw_ipmi, OID_AUTO, on, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_ipmi, OID_AUTO, on, CTLFLAG_RWTUN, | ||||
&on, 0, ""); | &on, 0, | ||||
"IPMI enabled"); | |||||
SYSCTL_INT(_hw_ipmi, OID_AUTO, wd_timer_actions, CTLFLAG_RW, | SYSCTL_INT(_hw_ipmi, OID_AUTO, wd_timer_actions, CTLFLAG_RW, | ||||
&wd_timer_actions, 0, | &wd_timer_actions, 0, | ||||
"IPMI watchdog timer actions (including pre-timeout interrupt)"); | "IPMI watchdog timer actions (including pre-timeout interrupt)"); | ||||
SYSCTL_INT(_hw_ipmi, OID_AUTO, wd_shutdown_countdown, CTLFLAG_RW, | SYSCTL_INT(_hw_ipmi, OID_AUTO, wd_shutdown_countdown, CTLFLAG_RW, | ||||
&wd_shutdown_countdown, 0, | &wd_shutdown_countdown, 0, | ||||
"IPMI watchdog countdown for shutdown (seconds)"); | "IPMI watchdog countdown for shutdown (seconds)"); | ||||
SYSCTL_INT(_hw_ipmi, OID_AUTO, wd_startup_countdown, CTLFLAG_RDTUN, | SYSCTL_INT(_hw_ipmi, OID_AUTO, wd_startup_countdown, CTLFLAG_RDTUN, | ||||
&wd_startup_countdown, 0, | &wd_startup_countdown, 0, | ||||
▲ Show 20 Lines • Show All 998 Lines • Show Last 20 Lines |