mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID:452 - Add PICMG extension 5.x for PICMG extension check
PICMG extension 5(UTCA, MicroTCA) is not detected as valid extension. The following patch fixes that at one place. In the second place the board type is detected in a similar way, but it isn't clear if a patch is needed there, too.
This commit is contained in:
parent
fcf7445bce
commit
f8a711b9e8
@ -2336,6 +2336,7 @@ picmg_discover(struct ipmi_intf *intf) {
|
|||||||
* PICMG Extension Version 2.0 (PICMG 3.0 Revision 1.0 ATCA) to
|
* 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)
|
* PICMG Extension Version 2.3 (PICMG 3.0 Revision 3.0 ATCA)
|
||||||
* PICMG Extension Version 4.1 (PICMG 3.0 Revision 3.0 AMC)
|
* PICMG Extension Version 4.1 (PICMG 3.0 Revision 3.0 AMC)
|
||||||
|
* PICMG Extension Version 5.0 (MTCA.0 R1.0)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* First, check if PICMG extension is available and supported */
|
/* First, check if PICMG extension is available and supported */
|
||||||
@ -2366,8 +2367,9 @@ picmg_discover(struct ipmi_intf *intf) {
|
|||||||
} else if (rsp->data[0] != 0) {
|
} else if (rsp->data[0] != 0) {
|
||||||
lprintf(LOG_INFO,"Invalid Get PICMG Properties group extension %#x",
|
lprintf(LOG_INFO,"Invalid Get PICMG Properties group extension %#x",
|
||||||
rsp->data[0]);
|
rsp->data[0]);
|
||||||
} else if ((rsp->data[1] & 0x0F) != PICMG_ATCA_MAJOR_VERSION
|
} else if ((rsp->data[1] & 0x0F) != PICMG_EXTENSION_ATCA_MAJOR_VERSION
|
||||||
&& (rsp->data[1] & 0x0F) != PICMG_AMC_MAJOR_VERSION) {
|
&& (rsp->data[1] & 0x0F) != PICMG_EXTENSION_AMC0_MAJOR_VERSION
|
||||||
|
&& (rsp->data[1] & 0x0F) != PICMG_EXTENSION_UTCA_MAJOR_VERSION) {
|
||||||
lprintf(LOG_INFO,"Unknown PICMG Extension Version %d.%d",
|
lprintf(LOG_INFO,"Unknown PICMG Extension Version %d.%d",
|
||||||
(rsp->data[1] & 0x0F), (rsp->data[1] >> 4));
|
(rsp->data[1] & 0x0F), (rsp->data[1] >> 4));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user