From 12a794e022fad8536d20b4399888d4d596d75c41 Mon Sep 17 00:00:00 2001 From: Danny Kukawka Date: Sun, 11 Nov 2007 18:56:05 +0100 Subject: [PATCH] update dmi chassis types Updated dmi chassis types (added 0x1A and 0x1B), added comment about the related numbers which represent the text. --- hald/linux/osspec.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/hald/linux/osspec.c b/hald/linux/osspec.c index f103d46..fa9dc69 100644 --- a/hald/linux/osspec.c +++ b/hald/linux/osspec.c @@ -493,7 +493,7 @@ computer_probing_pcbios_helper_done (HalDevice *d, guint32 exit_type, * TODO: figure out WTF the mapping should be; "Lunch Box"? Give me a break :-) */ static const char *chassis_map[] = { - "Other", "unknown", + "Other", "unknown", /* 0x01 */ "Unknown", "unknown", "Desktop", "desktop", "Low Profile Desktop", "desktop", @@ -518,6 +518,8 @@ computer_probing_pcbios_helper_done (HalDevice *d, guint32 exit_type, "Rack Mount Chassis", "unknown", "Sealed-case PC", "unknown", "Multi-system", "unknown", + "CompactPCI", "unknonw", + "AdvancedTCA", "unknown", /* 0x1B */ NULL }; -- 1.5.3.7