aboutsummaryrefslogtreecommitdiff
path: root/Documentation/IPMI.txt
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2010-12-08 10:10:17 +0800
committerLen Brown <len.brown@intel.com>2010-12-14 00:22:00 -0500
commit37bf501bdda1d5d6ea73ce29d4b00d291b6f3811 (patch)
tree0ceaf0c73525c154dc72d55170c7d6edcbb2c08f /Documentation/IPMI.txt
parent16f4232ce4d6855361b4eb56262f4a202295c978 (diff)
downloadlinux-37bf501bdda1d5d6ea73ce29d4b00d291b6f3811.tar.gz
IPMI: Add the document description of ipmi_get_smi_info
Add the document description about how to use ipmi_get_smi_info. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation/IPMI.txt')
-rw-r--r--Documentation/IPMI.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/IPMI.txt b/Documentation/IPMI.txt
index 69dd29ed824..b2bea15137d 100644
--- a/Documentation/IPMI.txt
+++ b/Documentation/IPMI.txt
@@ -533,6 +533,33 @@ completion during sending a panic event.
Other Pieces
------------
+Get the detailed info related with the IPMI device
+--------------------------------------------------
+
+Some users need more detailed information about a device, like where
+the address came from or the raw base device for the IPMI interface.
+You can use the IPMI smi_watcher to catch the IPMI interfaces as they
+come or go, and to grab the information, you can use the function
+ipmi_get_smi_info(), which returns the following structure:
+
+struct ipmi_smi_info {
+ enum ipmi_addr_src addr_src;
+ struct device *dev;
+ union {
+ struct {
+ void *acpi_handle;
+ } acpi_info;
+ } addr_info;
+};
+
+Currently special info for only for SI_ACPI address sources is
+returned. Others may be added as necessary.
+
+Note that the dev pointer is included in the above structure, and
+assuming ipmi_smi_get_info returns success, you must call put_device
+on the dev pointer.
+
+
Watchdog
--------