diff options
| author | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-22 13:37:43 +0000 |
|---|---|---|
| committer | nima <nima@abc39116-655e-4be6-ad55-d661dc543056> | 2008-12-22 13:37:43 +0000 |
| commit | 25f310ab03c3010d89b0cafa989aeab94bcda58f (patch) | |
| tree | ccd1b5462a13030e1d85c6162fce96959dab2bc0 /src/dmihelper.h | |
| parent | 915ed13f64903adda36446657d19e6bae02e3be2 (diff) | |
| download | python-dmidecode-25f310ab03c3010d89b0cafa989aeab94bcda58f.tar.gz python-dmidecode-25f310ab03c3010d89b0cafa989aeab94bcda58f.tar.xz python-dmidecode-25f310ab03c3010d89b0cafa989aeab94bcda58f.zip | |
Cleaned up the fix for type(127).
Added the second type of stuffed bios (upstream).
Integrated dmidecode the binary into the test case for a more objective result.
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@163 abc39116-655e-4be6-ad55-d661dc543056
Diffstat (limited to 'src/dmihelper.h')
| -rw-r--r-- | src/dmihelper.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/dmihelper.h b/src/dmihelper.h index 63415fe..a056eb2 100644 --- a/src/dmihelper.h +++ b/src/dmihelper.h @@ -14,11 +14,19 @@ #define MAXVAL 1024 static const int map_maj[] = { - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, - 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, - 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, - 126, 127 + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, + 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, + 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, + 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, + 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, + 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, + 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, + 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, + 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, + 120, 121, 122, 123, 124, 125, 126, 127, }; typedef struct _dmi_codes_major { @@ -68,6 +76,8 @@ static const dmi_codes_major dmiCodesMajor[] = { { 37, "3.3.38", "Memory Channel" }, { 38, "3.3.39", "IPMI Device Information" }, { 39, "3.3.40", "System Power Supply" }, + { 40, "3.3.41", "-------------------" }, + { 41, "3.3.42", "-------------------" }, { 126, "3.3.41", "Inactive" }, { 127, "3.3.42", "End Of Table" }, }; |
