aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
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 /Documentation
parent03b6e6e58d9dd5f3068288653810db3c15fde929 (diff)
parente92b297cc72ade7a58eaec7e01c906d856f8ab6e (diff)
Merge branch 'ipmi' into release
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/IPMI.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/IPMI.txt b/Documentation/IPMI.txt
index 69dd29ed824e..b2bea15137d2 100644
--- a/Documentation/IPMI.txt
+++ b/Documentation/IPMI.txt
@@ -533,6 +533,33 @@ completion during sending a panic event.
533Other Pieces 533Other Pieces
534------------ 534------------
535 535
536Get the detailed info related with the IPMI device
537--------------------------------------------------
538
539Some users need more detailed information about a device, like where
540the address came from or the raw base device for the IPMI interface.
541You can use the IPMI smi_watcher to catch the IPMI interfaces as they
542come or go, and to grab the information, you can use the function
543ipmi_get_smi_info(), which returns the following structure:
544
545struct ipmi_smi_info {
546 enum ipmi_addr_src addr_src;
547 struct device *dev;
548 union {
549 struct {
550 void *acpi_handle;
551 } acpi_info;
552 } addr_info;
553};
554
555Currently special info for only for SI_ACPI address sources is
556returned. Others may be added as necessary.
557
558Note that the dev pointer is included in the above structure, and
559assuming ipmi_smi_get_info returns success, you must call put_device
560on the dev pointer.
561
562
536Watchdog 563Watchdog
537-------- 564--------
538 565