summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhali <khali>2008-10-26 16:34:28 +0000
committerkhali <khali>2008-10-26 16:34:28 +0000
commit40ad74fe7148267d51c2229b747dd3afee7a5192 (patch)
tree4292061a7b10550ae1e580c043cc024b7fdf9b38
parent7d3fa39e348ca20f6ae54af764ae74b5450b9411 (diff)
downloaddmidecode-40ad74fe7148267d51c2229b747dd3afee7a5192.tar.gz
Add chassis types "Blade" and "Blade Enclosure" (DMI type 3).
-rw-r--r--dmidecode.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dmidecode.c b/dmidecode.c
index 426d169..b6867b7 100644
--- a/dmidecode.c
+++ b/dmidecode.c
@@ -457,10 +457,12 @@ const char *dmi_chassis_type(u8 code)
"Sealed-case PC",
"Multi-system",
"CompactPCI",
- "AdvancedTCA" /* 0x1B */
+ "AdvancedTCA",
+ "Blade",
+ "Blade Enclosing" /* 0x1D */
};
- if (code >= 0x01 && code <= 0x1B)
+ if (code >= 0x01 && code <= 0x1D)
return type[code - 0x01];
return out_of_spec;
}