mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID : 103 picmg discover messages should be DEBUG, not INFO
Changed picmg discover messages to LOG_DEBUG
This commit is contained in:
parent
ea49700ec1
commit
58d510f90f
@ -2345,7 +2345,7 @@ picmg_discover(struct ipmi_intf *intf) {
|
|||||||
req.msg.data_len = 1;
|
req.msg.data_len = 1;
|
||||||
msg_data = 0;
|
msg_data = 0;
|
||||||
|
|
||||||
lprintf(LOG_INFO, "Running Get PICMG Properties my_addr %#x, transit %#x, target %#x",
|
lprintf(LOG_DEBUG, "Running Get PICMG Properties my_addr %#x, transit %#x, target %#x",
|
||||||
intf->my_addr, intf->transit_addr, intf->target_addr);
|
intf->my_addr, intf->transit_addr, intf->target_addr);
|
||||||
rsp = intf->sendrecv(intf, &req);
|
rsp = intf->sendrecv(intf, &req);
|
||||||
if (rsp && !rsp->ccode) {
|
if (rsp && !rsp->ccode) {
|
||||||
@ -2353,19 +2353,19 @@ picmg_discover(struct ipmi_intf *intf) {
|
|||||||
((rsp->data[1] & 0x0F) == PICMG_ATCA_MAJOR_VERSION
|
((rsp->data[1] & 0x0F) == PICMG_ATCA_MAJOR_VERSION
|
||||||
|| (rsp->data[1] & 0x0F) == PICMG_AMC_MAJOR_VERSION) ) {
|
|| (rsp->data[1] & 0x0F) == PICMG_AMC_MAJOR_VERSION) ) {
|
||||||
intf->picmg_avail = 1;
|
intf->picmg_avail = 1;
|
||||||
lprintf(LOG_INFO, "Discovered PICMG Extension %d.%d",
|
lprintf(LOG_DEBUG, "Discovered PICMG Extension %d.%d",
|
||||||
(rsp->data[1] & 0x0f), (rsp->data[1] >> 4));
|
(rsp->data[1] & 0x0f), (rsp->data[1] >> 4));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (rsp == NULL) {
|
if (rsp == NULL) {
|
||||||
lprintf(LOG_INFO,"No Response from Get PICMG Properties");
|
lprintf(LOG_DEBUG,"No Response from Get PICMG Properties");
|
||||||
} else {
|
} else {
|
||||||
lprintf(LOG_INFO,"Error Response %#x from Get PICMG Properities", rsp->ccode);
|
lprintf(LOG_DEBUG,"Error Response %#x from Get PICMG Properities", rsp->ccode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (intf->picmg_avail == 0) {
|
if (intf->picmg_avail == 0) {
|
||||||
lprintf(LOG_INFO, "No PICMG Extenstion discovered");
|
lprintf(LOG_DEBUG, "No PICMG Extenstion discovered");
|
||||||
}
|
}
|
||||||
return intf->picmg_avail;
|
return intf->picmg_avail;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user