Fixed firmware revision decoding:
- the major is 7-bit binary encoded - the minor is BCD encoded PR: kern/151586 MFC after: 3 days
This commit is contained in:
parent
5331d61da4
commit
14689886a5
@ -713,10 +713,10 @@ ipmi_startup(void *arg)
|
||||
return;
|
||||
}
|
||||
|
||||
device_printf(dev, "IPMI device rev. %d, firmware rev. %d.%d, "
|
||||
device_printf(dev, "IPMI device rev. %d, firmware rev. %d.%d%d, "
|
||||
"version %d.%d\n",
|
||||
req->ir_reply[1] & 0x0f,
|
||||
req->ir_reply[2] & 0x0f, req->ir_reply[4],
|
||||
req->ir_reply[2] & 0x7f, req->ir_reply[3] >> 4, req->ir_reply[3] & 0x0f,
|
||||
req->ir_reply[4] & 0x0f, req->ir_reply[4] >> 4);
|
||||
|
||||
ipmi_free_request(req);
|
||||
|
Loading…
x
Reference in New Issue
Block a user