mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
ipmi: Get the device id through a function
This makes getting the device id consistent, and make it possible to add a function to fetch it dynamically later. Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
parent
9b64a8ba90
commit
511d57dc71
3 changed files with 130 additions and 42 deletions
|
@ -113,9 +113,9 @@ int ipmi_create_user(unsigned int if_num,
|
|||
int ipmi_destroy_user(ipmi_user_t user);
|
||||
|
||||
/* Get the IPMI version of the BMC we are talking to. */
|
||||
void ipmi_get_version(ipmi_user_t user,
|
||||
unsigned char *major,
|
||||
unsigned char *minor);
|
||||
int ipmi_get_version(ipmi_user_t user,
|
||||
unsigned char *major,
|
||||
unsigned char *minor);
|
||||
|
||||
/* Set and get the slave address and LUN that we will use for our
|
||||
source messages. Note that this affects the interface, not just
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue