projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c42b7d
)
dmi: more chassis types
author
Erwan Velu
<erwan.velu@free.fr>
Mon, 30 Nov 2009 12:01:58 +0000
(13:01 +0100)
committer
Erwan Velu
<erwan.velu@free.fr>
Fri, 4 Dec 2009 09:11:16 +0000
(10:11 +0100)
Impact: more chassis types
More DMI chassis types
com32/gpllib/dmi/dmi_chassis.c
patch
|
blob
|
history
diff --git
a/com32/gpllib/dmi/dmi_chassis.c
b/com32/gpllib/dmi/dmi_chassis.c
index
84dbe90
..
afca5c2
100644
(file)
--- a/
com32/gpllib/dmi/dmi_chassis.c
+++ b/
com32/gpllib/dmi/dmi_chassis.c
@@
-57,10
+57,14
@@
const char *dmi_chassis_type(uint8_t code)
"RAID Chassis",
"Rack Mount Chassis",
"Sealed-case PC",
- "Multi-system" /* 0x19 */
+ "Multi-system", /* 0x19 */
+ "CompactPCI",
+ "AdvancedTCA",
+ "Blade",
+ "Blade Enclosing" /* 0x1D */
};
- if (code >= 0x01 && code <= 0x1
9
)
+ if (code >= 0x01 && code <= 0x1
D
)
return type[code - 0x01];
return out_of_spec;
}