From: Francois I. <isa...@us...> - 2007-11-07 15:55:07
|
Update of /cvsroot/ipmitool/ipmitool/lib In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv22856/lib Modified Files: ipmi_sel.c Log Message: Moved out 'kontron' OEM sensor resolution for other OEMs which could lead to bad event descriptions Changed LOG_ERR to LOG_DEBUG and corrected display Index: ipmi_sel.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/lib/ipmi_sel.c,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** ipmi_sel.c 27 Mar 2007 16:21:15 -0000 1.69 --- ipmi_sel.c 7 Nov 2007 15:55:08 -0000 1.70 *************** *** 516,525 **** desc = get_newisys_evt_desc(intf, rec); break; - case IPMI_OEM_SUN: - case IPMI_OEM_INTEL: - case IPMI_OEM_TYAN: - case IPMI_OEM_SUPERMICRO: case IPMI_OEM_KONTRON: - case IPMI_OEM_NOKIA: desc = get_kontron_evt_desc(intf, rec); break; --- 516,520 ---- *************** *** 553,557 **** switch(iana){ case IPMI_OEM_KONTRON: - case IPMI_OEM_NOKIA: lprintf(LOG_DEBUG, "oem sensor type %x %d using oem type supplied description", rec->sel_type.standard_type.sensor_type , iana); --- 548,551 ---- *************** *** 605,614 **** switch(iana){ case IPMI_OEM_KONTRON: - case IPMI_OEM_NOKIA: st = oem_kontron_event_types; break; /* add you oem sensor type lookup assignement here */ default: ! lprintf(LOG_ERR, "ipmitool: missing OEM sensor type for 0x%ul",iana); break; } --- 599,607 ---- switch(iana){ case IPMI_OEM_KONTRON: st = oem_kontron_event_types; break; /* add you oem sensor type lookup assignement here */ default: ! lprintf(LOG_DEBUG, "ipmitool: missing OEM sensor type for %ul",iana); break; } *************** *** 629,639 **** switch(iana){ case IPMI_OEM_KONTRON: - case IPMI_OEM_NOKIA: st = oem_kontron_event_types; break; /* add you oem sensor type lookup assignement here */ default: ! lprintf(LOG_ERR, ! "ipmitool: missing OEM sensor type offset for 0x%ul",iana); break; } --- 622,631 ---- switch(iana){ case IPMI_OEM_KONTRON: st = oem_kontron_event_types; break; /* add you oem sensor type lookup assignement here */ default: ! lprintf(LOG_DEBUG, ! "ipmitool: missing OEM sensor type offset for %ul",iana); break; } |