diff options
author | 2016-01-10 14:17:00 +0000 | |
---|---|---|
committer | 2016-01-10 14:17:00 +0000 | |
commit | 0728ef28a61bca940ea6125f7841cfa6cffbaf6c (patch) | |
tree | ed907566d470f589c45a914cd9227f70035cece5 /sys/dev/ipmivar.h | |
parent | Seems the voltage bit defenitions in sdmmcreg.h for voltages below 2V (diff) | |
download | wireguard-openbsd-0728ef28a61bca940ea6125f7841cfa6cffbaf6c.tar.xz wireguard-openbsd-0728ef28a61bca940ea6125f7841cfa6cffbaf6c.zip |
When stopping wdog (via wdog_shutdown() e.g. before entering shutdown),
clear DONTSTOP bits. Without this, BMC records, at least on some NEC
servers, watchdog timer expiration event, which only confuses admins.
OK kettenis@
Diffstat (limited to 'sys/dev/ipmivar.h')
-rw-r--r-- | sys/dev/ipmivar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ipmivar.h b/sys/dev/ipmivar.h index 53a9bfc1ad8..fb9f9169fbc 100644 --- a/sys/dev/ipmivar.h +++ b/sys/dev/ipmivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ipmivar.h,v 1.19 2015/01/07 07:49:18 yasuoka Exp $ */ +/* $OpenBSD: ipmivar.h,v 1.20 2016/01/10 14:17:00 uebayasi Exp $ */ /* * Copyright (c) 2005 Jordan Hargrave @@ -114,6 +114,8 @@ struct ipmi_thread { volatile int running; }; +#define IPMI_WDOG_DONTSTOP 0x40 + #define IPMI_WDOG_MASK 0x03 #define IPMI_WDOG_DISABLED 0x00 #define IPMI_WDOG_REBOOT 0x01 |