OpenCloudOS-Kernel/drivers/char/ipmi
Corey Minyard bb398a4cb0 ipmi_si: Change ipmi_si_add_smi() to take just I/O info
Instead of allocating the smi_info structure, filling in the I/O
info, and passing it to ipmi_si_add_smi(), just pass the I/O
info in the io structure and let ipmi_si_add_smi() allocate
the smi_info structure.

This required redoing the way the remove functions for some
device interfaces worked, a new function named
ipmi_si_remove_by_dev() allows the device to be passed in and
detected instead of using driver data, which couldn't be
filled out easily othersize.

After this the platform handling should be decoupled from the
smi_info structure and that handling can be pulled out to its
own files.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
2017-09-27 16:03:45 -05:00
..
Kconfig ipmi: Make IPMI panic strings always available 2017-09-27 16:03:45 -05:00
Makefile ipmi: Create a platform device for a DMI-specified IPMI interface 2017-06-19 12:49:36 -05:00
bt-bmc.c ipmi: bt-bmc: Add ast2500 compatible string 2017-04-07 12:25:38 -05:00
ipmi_bt_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_devintf.c ipmi: get rid of field-by-field __get_user() 2017-06-26 17:02:54 -04:00
ipmi_dmi.c ipmi: Create a platform device for a DMI-specified IPMI interface 2017-06-19 12:49:36 -05:00
ipmi_dmi.h ipmi: Create a platform device for a DMI-specified IPMI interface 2017-06-19 12:49:36 -05:00
ipmi_kcs_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_msghandler.c ipmi: Convert IPMI GUID over to Linux guid_t 2017-09-27 16:03:45 -05:00
ipmi_powernv.c ipmi: Remove the device id from ipmi_register_smi() 2017-09-27 16:03:45 -05:00
ipmi_poweroff.c IPMI: make ipmi_poweroff_handler const 2017-09-27 16:03:45 -05:00
ipmi_si.h ipmi_si: Change ipmi_si_add_smi() to take just I/O info 2017-09-27 16:03:45 -05:00
ipmi_si_intf.c ipmi_si: Change ipmi_si_add_smi() to take just I/O info 2017-09-27 16:03:45 -05:00
ipmi_si_sm.h ipmi_si: Change ipmi_si_add_smi() to take just I/O info 2017-09-27 16:03:45 -05:00
ipmi_smic_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_ssif.c ipmi: Remove the device id from ipmi_register_smi() 2017-09-27 16:03:45 -05:00
ipmi_watchdog.c ipmi: Get the device id through a function 2017-09-27 16:03:45 -05:00