mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-12 11:37:23 +00:00
Fixed PICMG (ATCA) extension verification
- Added PICMG 2.0 support - Added PICMG 2.3 support
This commit is contained in:
parent
1593341ed7
commit
3b08cc6002
@ -116,7 +116,9 @@ ipmi_openipmi_open(struct ipmi_intf * intf)
|
|||||||
|
|
||||||
/* Check if PICMG extension is available to use the function GetDeviceLocator
|
/* Check if PICMG extension is available to use the function GetDeviceLocator
|
||||||
* to retreive i2c address PICMG hack to set right IPMB address,
|
* to retreive i2c address PICMG hack to set right IPMB address,
|
||||||
* If extension is not supported, should not gives any problems
|
* If extension is not supported, should not give any problems
|
||||||
|
* PICMG Extension Version 2.0 (PICMG 3.0 Revision 1.0 ATCA) to
|
||||||
|
* PICMG Extension Version 2.3 (PICMG 3.0 Revision 3.0 ATCA)
|
||||||
*/
|
*/
|
||||||
if (intf->my_addr == IPMI_BMC_SLAVE_ADDR) {
|
if (intf->my_addr == IPMI_BMC_SLAVE_ADDR) {
|
||||||
|
|
||||||
@ -139,9 +141,13 @@ ipmi_openipmi_open(struct ipmi_intf * intf)
|
|||||||
(rsp->data[0] == 0)
|
(rsp->data[0] == 0)
|
||||||
&&
|
&&
|
||||||
(
|
(
|
||||||
(rsp->data[1] == 0x21) /* PICMG 2.1 version */
|
(rsp->data[1] == 0x02)
|
||||||
||
|
||
|
||||||
(rsp->data[1] == 0x22) /* PICMG 2.2 version */
|
(rsp->data[1] == 0x12)
|
||||||
|
||
|
||||||
|
(rsp->data[1] == 0x22)
|
||||||
|
||
|
||||||
|
(rsp->data[1] == 0x32)
|
||||||
)
|
)
|
||||||
){
|
){
|
||||||
version_accepted = 1;
|
version_accepted = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user