Thanks,
G
srinivas_g_go...@dell.com
DELL
diff -Naurp 09-ipmitool_opensel_part5_delloem/lib/ipmi_delloem.c 10-ipmitool_opensel_part6_delloem/lib/ipmi_delloem.c
--- 09-ipmitool_opensel_part5_delloem/lib/ipmi_delloem.c	2012-03-06 19:29:18.000000000 +0530
+++ 10-ipmitool_opensel_part6_delloem/lib/ipmi_delloem.c	2012-03-06 19:31:18.000000000 +0530
@@ -2176,7 +2176,7 @@ static int ipmi_macinfo_10g (struct ipmi
 
     uint8_t j;
     uint8_t i;
-    uint8_t rc;
+
 
     uint8_t Total_No_NICs = 0;
 
@@ -2276,9 +2276,6 @@ static int ipmi_macinfo_11g (struct ipmi
     uint8_t maxlen;
     uint8_t loop_count;
     uint8_t i;
-    uint8_t rc;
-    uint8_t LOMStatus = 0;
-    uint8_t PlayingDead = 0;
 
 
 
@@ -2956,11 +2953,10 @@ static int ipmi_lan_get_active_nic (stru
 
     uint8_t msg_data[30];
     uint8_t input_length=0;
-    uint8_t j;
 
     input_length = 0;
 
-    msg_data[input_length++] = 0; /*Get Status*/
+    msg_data[input_length++] = 0; /*Get current LOM*/
     msg_data[input_length++] = 0; /*Reserved*/
     msg_data[input_length++] = 0; /*Reserved*/        
 
diff -Naurp 09-ipmitool_opensel_part5_delloem/lib/ipmi_sel.c 10-ipmitool_opensel_part6_delloem/lib/ipmi_sel.c
--- 09-ipmitool_opensel_part5_delloem/lib/ipmi_sel.c	2012-03-06 19:29:45.000000000 +0530
+++ 10-ipmitool_opensel_part6_delloem/lib/ipmi_sel.c	2012-03-06 16:26:57.000000000 +0530
@@ -951,6 +951,55 @@ char * get_dell_evt_desc(struct ipmi_int
 					}
 				}
 			break;	
+			case 0x0F:	
+				if(((data1 & 0x0f)== 0x0F)&&(data1 & 0x80))
+				{
+					switch(data2)
+					{
+						case 0x80:
+							snprintf(desc, SIZE_OF_DESC, "No memory is detected.");break;
+						case 0x81:	
+							snprintf(desc,SIZE_OF_DESC, "Memory is detected but is not configurable.");break;
+						case 0x82:
+							snprintf(desc, SIZE_OF_DESC, "Memory is configured but not usable.");break;
+						case 0x83:
+							snprintf(desc, SIZE_OF_DESC, "System BIOS shadow failed.");break;
+						case 0x84:	
+							snprintf(desc, SIZE_OF_DESC, "CMOS failed.");break;
+						case 0x85:	
+							snprintf(desc, SIZE_OF_DESC, "DMA controller failed.");break;
+						case 0x86:	
+							snprintf(desc, SIZE_OF_DESC, "Interrupt controller failed.");break;
+						case 0x87:
+							snprintf(desc, SIZE_OF_DESC, "Timer refresh failed.");break;
+						case 0x88:
+							snprintf(desc, SIZE_OF_DESC, "Programmable interval timer error.");break;
+						case 0x89:
+							snprintf(desc, SIZE_OF_DESC, "Parity error.");break;
+						case 0x8A:
+							snprintf(desc, SIZE_OF_DESC, "SIO failed.");break;
+						case 0x8B:	
+							snprintf(desc, SIZE_OF_DESC, "Keyboard controller failed.");break;
+						case 0x8C:	
+							snprintf(desc, SIZE_OF_DESC, "System management interrupt initialization failed.");break;
+						case 0x8D:	
+							snprintf(desc, SIZE_OF_DESC, "TXT-SX Error.");break;
+						case 0xC0:
+							snprintf(desc, SIZE_OF_DESC, "Shutdown test failed.");break;
+						case 0xC1:	
+							snprintf(desc, SIZE_OF_DESC, "BIOS POST memory test failed.");break;
+						case 0xC2:	
+							snprintf(desc, SIZE_OF_DESC, "RAC configuration failed.");break;
+						case 0xC3:	
+							snprintf(desc, SIZE_OF_DESC, "CPU configuration failed.");break;
+						case 0xC4:	
+							snprintf(desc, SIZE_OF_DESC, "Incorrect memory configuration.");break;
+						case 0xFE:	
+							snprintf(desc, SIZE_OF_DESC, "General failure after video.");
+							break;
+					}
+				}
+			break;
 			
 			default:
 			break;				
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to