don't bail on SDR version 0x02

This commit is contained in:
Duncan Laurie 2005-01-06 19:19:35 +00:00
parent f5c8042629
commit 32cba5f174

View File

@ -1334,9 +1334,15 @@ ipmi_sdr_start(struct ipmi_intf * intf)
memcpy(&sdr_info, rsp->data, sizeof(sdr_info));
/* version should be 0x01 for IPMIv1.0 and 0x51 for IPMI1.5 */
if ((sdr_info.version != 0x51) && (sdr_info.version != 0x01)) {
lprintf(LOG_WARN, "WARNING: SDR repository version mismatch");
/* IPMIv1.0 == 0x01
* IPMIv1.5 == 0x51
* IPMIv2.0 == 0x02
*/
if ((sdr_info.version != 0x51) &&
(sdr_info.version != 0x01) &&
(sdr_info.version != 0x02)) {
lprintf(LOG_WARN, "WARNING: Unknown SDR repository "
"version 0x%02x", sdr_info.version);
}
itr->total = sdr_info.count;