aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ipmi_smi.h
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2018-04-05 16:44:12 -0500
committerCorey Minyard <cminyard@mvista.com>2018-04-18 10:22:54 -0500
commitb7780dab90e8da302bc7d0d1b39b538b822017e8 (patch)
tree46a83506c977f5a8b2a81f9535b1aabf1441ad36 /include/linux/ipmi_smi.h
parentipmi_devintf: Small lock rework (diff)
downloadlinux-dev-b7780dab90e8da302bc7d0d1b39b538b822017e8.tar.xz
linux-dev-b7780dab90e8da302bc7d0d1b39b538b822017e8.zip
ipmi: Add shutdown functions for users and interfaces
Since things that IPMI uses can be hot-swapped, the users and interfaces really need to be able to handle this. Add the functions so the users and interfaces can implement them, the actual function will be added after everything is ready. Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'include/linux/ipmi_smi.h')
-rw-r--r--include/linux/ipmi_smi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ipmi_smi.h b/include/linux/ipmi_smi.h
index 9e5c3079d232..bdcda4741c89 100644
--- a/include/linux/ipmi_smi.h
+++ b/include/linux/ipmi_smi.h
@@ -73,6 +73,12 @@ struct ipmi_smi_handlers {
ipmi_smi_t new_intf);
/*
+ * When called, the low-level interface should disable all
+ * processing, it should be complete shut down when it returns.
+ */
+ void (*shutdown)(void *send_info);
+
+ /*
* Get the detailed private info of the low level interface and store
* it into the structure of ipmi_smi_data. For example: the
* ACPI device handle will be returned for the pnp_acpi IPMI device.