aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ipmi
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-12-15 05:46:04 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-12-15 05:46:04 +0000
commit26649bb5e8f9e14eb2f787b235dff6c2fafb8d53 (patch)
treee9fafe4bb94dadd99ea2262aa6c0fb0e9498418a /sys/dev/ipmi
parent8763f2174d8780ae7ebbfbe6e19197df2b962a78 (diff)
Notes
Diffstat (limited to 'sys/dev/ipmi')
-rw-r--r--sys/dev/ipmi/ipmi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ipmi/ipmi.c b/sys/dev/ipmi/ipmi.c
index 09a7f7a27bce..a2c29098f021 100644
--- a/sys/dev/ipmi/ipmi.c
+++ b/sys/dev/ipmi/ipmi.c
@@ -938,14 +938,14 @@ ipmi_startup(void *arg)
} else if (!on)
(void)ipmi_set_watchdog(sc, 0);
/*
- * Power cycle the system off using IPMI. We use last - 1 since we don't
+ * Power cycle the system off using IPMI. We use last - 2 since we don't
* handle all the other kinds of reboots. We'll let others handle them.
* We only try to do this if the BMC supports the Chassis device.
*/
if (sc->ipmi_dev_support & IPMI_ADS_CHASSIS) {
device_printf(dev, "Establishing power cycle handler\n");
sc->ipmi_power_cycle_tag = EVENTHANDLER_REGISTER(shutdown_final,
- ipmi_power_cycle, sc, SHUTDOWN_PRI_LAST - 1);
+ ipmi_power_cycle, sc, SHUTDOWN_PRI_LAST - 2);
}
}