IPMI: Add one interface to get more info of low-level IPMI device
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 8 Dec 2010 02:10:16 +0000 (10:10 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 14 Dec 2010 05:21:51 +0000 (00:21 -0500)
commit16f4232ce4d6855361b4eb56262f4a202295c978
tree76edaaa76feab9876eb8b12b50d5660b6f4d434c
parentcf7d7e5a1980d1116ee152d25dac382b112b9c17
IPMI: Add one interface to get more info of low-level IPMI device

The IPMI smi_watcher will be used to catch the IPMI interface as they
come or go.  In order to communicate with the correct IPMI device, it
should be confirmed whether it is what we wanted especially on the
system with multiple IPMI devices. But the new_smi callback function
of smi_watcher provides very limited info(only the interface number
and dev pointer) and there is no detailed info about the low level
interface. For example: which mechansim registers the IPMI
interface(ACPI, PCI, DMI and so on).

This is to add one interface that can get more info of low-level IPMI
device. For example: the ACPI device handle will be returned for the
pnp_acpi IPMI device.

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>
drivers/char/ipmi/ipmi_msghandler.c
drivers/char/ipmi/ipmi_si_intf.c
include/linux/ipmi.h
include/linux/ipmi_smi.h