mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ipmi: Make the DMI probe into a generic platform probe
Rework the DMI probe function to be a generic platform probe, and then rework the DMI code (and a few other things) to use the more generic information. This is so other things can declare platform IPMI devices. Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
parent
55f91cb6f1
commit
95e300c052
8 changed files with 104 additions and 95 deletions
|
@ -277,7 +277,7 @@ int ipmi_validate_addr(struct ipmi_addr *addr, int len);
|
|||
*/
|
||||
enum ipmi_addr_src {
|
||||
SI_INVALID = 0, SI_HOTMOD, SI_HARDCODED, SI_SPMI, SI_ACPI, SI_SMBIOS,
|
||||
SI_PCI, SI_DEVICETREE, SI_LAST
|
||||
SI_PCI, SI_DEVICETREE, SI_PLATFORM, SI_LAST
|
||||
};
|
||||
const char *ipmi_addr_src_to_str(enum ipmi_addr_src src);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue