]> asedeno.scripts.mit.edu Git - linux.git/commit
ipmi: Create a platform device for a DMI-specified IPMI interface
authorCorey Minyard <cminyard@mvista.com>
Sat, 10 Jun 2017 02:19:52 +0000 (21:19 -0500)
committerCorey Minyard <cminyard@mvista.com>
Mon, 19 Jun 2017 17:49:36 +0000 (12:49 -0500)
commit9f88145f1871456de67ae6a242ac2661187bd4ff
tree7062dcbf1cf77363031afbdfaabe9e07d8552770
parentcdea46566bb21ce309725a024208322a409055cc
ipmi: Create a platform device for a DMI-specified IPMI interface

Create a platform device for each IPMI device in the DMI table,
a separate kind of device for SSIF types and for KCS, BT, and
SMIC types.  This is so auto-loading IPMI devices will work
from just SMBIOS tables.

This also adds the ability to extract the slave address from
the SMBIOS tables, so that when the driver uses ACPI-specified
interfaces, it can still extract the slave address from SMBIOS.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Cc: Andy Lutomirski <luto@kernel.org>
drivers/char/ipmi/Kconfig
drivers/char/ipmi/Makefile
drivers/char/ipmi/ipmi_dmi.c [new file with mode: 0644]
drivers/char/ipmi/ipmi_dmi.h [new file with mode: 0644]