summaryrefslogtreecommitdiff
path: root/include/linux/ipmi_smi.h
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2011-01-12 05:03:13 -0500
committerLen Brown <len.brown@intel.com>2011-01-12 05:03:13 -0500
commit4b63bd35eb4e7959b0f7be17634689d34311524b (patch)
tree2dad174e4ef8cbe5ef86541a8496b5f97dcf35d1 /include/linux/ipmi_smi.h
parent03b6e6e58d9dd5f3068288653810db3c15fde929 (diff)
parente92b297cc72ade7a58eaec7e01c906d856f8ab6e (diff)
Merge branch 'ipmi' into release
Diffstat (limited to 'include/linux/ipmi_smi.h')
-rw-r--r--include/linux/ipmi_smi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/ipmi_smi.h b/include/linux/ipmi_smi.h
index 4b48318ac54..906590aa690 100644
--- a/include/linux/ipmi_smi.h
+++ b/include/linux/ipmi_smi.h
@@ -39,6 +39,7 @@
#include <linux/module.h>
#include <linux/device.h>
#include <linux/platform_device.h>
+#include <linux/ipmi.h>
/* This files describes the interface for IPMI system management interface
drivers to bind into the IPMI message handler. */
@@ -86,6 +87,13 @@ struct ipmi_smi_handlers {
int (*start_processing)(void *send_info,
ipmi_smi_t new_intf);
+ /*
+ * 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.
+ */
+ int (*get_smi_info)(void *send_info, struct ipmi_smi_info *data);
+
/* Called to enqueue an SMI message to be sent. This
operation is not allowed to fail. If an error occurs, it
should report back the error in a received message. It may