mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-20 05:43:09 +00:00
ipmi: Add shutdown functions for users and interfaces
Since things that IPMI uses can be hot-swapped, the users and interfaces really need to be able to handle this. Add the functions so the users and interfaces can implement them, the actual function will be added after everything is ready. Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
parent
6aa2dd0092
commit
b7780dab90
2 changed files with 14 additions and 0 deletions
|
@ -97,6 +97,14 @@ struct ipmi_user_hndl {
|
|||
* been set up to handle run to completion.
|
||||
*/
|
||||
void (*ipmi_panic_handler)(void *handler_data);
|
||||
|
||||
/*
|
||||
* Called when the interface has been removed. After this returns
|
||||
* the user handle will be invalid. The interface may or may
|
||||
* not be usable when this is called, but it will return errors
|
||||
* if it is not usable.
|
||||
*/
|
||||
void (*shutdown)(void *handler_data);
|
||||
};
|
||||
|
||||
/* Create a new user of the IPMI layer on the given interface number. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue