Home
last modified time | relevance | path

Searched hist:bb398a4cb09a0ed96cf0fc2e90012cf6bf13a824 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/char/ipmi/
H A Dipmi_si.hdiff bb398a4cb09a0ed96cf0fc2e90012cf6bf13a824 Tue Sep 12 21:37:02 CDT 2017 Corey Minyard <cminyard@mvista.com> 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>
H A Dipmi_si_sm.hdiff bb398a4cb09a0ed96cf0fc2e90012cf6bf13a824 Tue Sep 12 21:37:02 CDT 2017 Corey Minyard <cminyard@mvista.com> 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>
H A Dipmi_si_intf.cdiff bb398a4cb09a0ed96cf0fc2e90012cf6bf13a824 Tue Sep 12 21:37:02 CDT 2017 Corey Minyard <cminyard@mvista.com> 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>