@@ -3668,14 +3668,14 @@ static void dmi_decode(u8 *data, u16 ver)
3668
3668
dmi_memory_channel_devices (data [0x06 ], data + 0x07 , "\t\t\t" );
3669
3669
break ;
3670
3670
3671
- /*
3672
- * We use the word "Version" instead of "Revision", conforming to
3673
- * IPMI 1.5 specification. This specification isn't very clear
3674
- * regarding the I2C slave address. I couldn't understand wether
3675
- * or not we are supposed to shift it by one bit to the right, so
3676
- * I leave it untouched. Beware it might be wrong.
3677
- */
3678
3671
case 38 : /* 3.3.39 IPMI Device Information */
3672
+ /*
3673
+ * We use the word "Version" instead of "Revision", conforming to
3674
+ * the IPMI 1.5 specification. This specification isn't very clear
3675
+ * regarding the I2C slave address. I couldn't understand wether
3676
+ * or not we are supposed to shift it by one bit to the right, so
3677
+ * I leave it untouched. Beware it might be wrong.
3678
+ */
3679
3679
printf ("\tIPMI Device Information\n" );
3680
3680
if (h -> length < 0x10 ) break ;
3681
3681
printf ("\t\tInterface Type: %s\n" ,
@@ -3697,10 +3697,23 @@ static void dmi_decode(u8 *data, u16 ver)
3697
3697
break ;
3698
3698
}
3699
3699
printf ("\t\tBase Address: 0x%08X%08X (%s)\n" ,
3700
- QWORD (data + 0x08 ).h , (QWORD (data + 0x08 ).l & ~1 )|((data [0x10 ]>>5 )& 1 ),
3700
+ QWORD (data + 0x08 ).h ,
3701
+ (QWORD (data + 0x08 ).l & ~1 )|((data [0x10 ]>>5 )& 1 ),
3701
3702
QWORD (data + 0x08 ).l & 1 ?"I/O" :"Memory-mapped" );
3702
3703
printf ("\t\tRegister Spacing: %s\n" ,
3703
3704
dmi_ipmi_register_spacing (data [0x10 ]>>6 ));
3705
+ if (data [0x10 ]& (1 <<3 ))
3706
+ {
3707
+ printf ("\t\tInterrupt Polarity: %s\n" ,
3708
+ data [0x10 ]& (1 <<1 )?"Active High" :"Active Low" );
3709
+ printf ("\t\tInterrupt Trigger Mode: %s\n" ,
3710
+ data [0x10 ]& (1 <<0 )?"Level" :"Edge" );
3711
+ }
3712
+ if (data [0x11 ]!= 0x00 )
3713
+ {
3714
+ printf ("\t\tInterrupt Number: %x\n" ,
3715
+ data [0x11 ]);
3716
+ }
3704
3717
break ;
3705
3718
3706
3719
case 39 : /* 3.3.40 System Power Supply */
0 commit comments