From 7fbf53c5935fada5baa3dff167142338e8e0e7c0 Mon Sep 17 00:00:00 2001 From: Zhao Yakui Date: Wed, 8 Dec 2010 10:10:17 +0800 Subject: [PATCH] --- yaml --- r: 230939 b: refs/heads/master c: 37bf501bdda1d5d6ea73ce29d4b00d291b6f3811 h: refs/heads/master i: 230937: 1c8b248303d959cdcbf95684b0a668e60ca7ea77 230935: 6434151c73dd0f8fae220a57a702e69a517201f8 v: v3 --- [refs] | 2 +- trunk/Documentation/IPMI.txt | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 3fe80e03d9ba..f6b73b88e8e7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 16f4232ce4d6855361b4eb56262f4a202295c978 +refs/heads/master: 37bf501bdda1d5d6ea73ce29d4b00d291b6f3811 diff --git a/trunk/Documentation/IPMI.txt b/trunk/Documentation/IPMI.txt index 69dd29ed824e..b2bea15137d2 100644 --- a/trunk/Documentation/IPMI.txt +++ b/trunk/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 --------