hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Sun Nov 11 09:56:20 PST 2007


 hald/linux/osspec.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit dd44931834020a50ad7cfe0900a6af315010e575
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Sun Nov 11 18:56:05 2007 +0100

    update dmi chassis types
    
    Updated dmi chassis types (added 0x1A and 0x1B), added comment
    about the related numbers which represent the text.

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
 			};
 			


More information about the hal-commit mailing list