Magellan Linux

Annotation of /trunk/hal/patches/hal-0.5.10-update-dmi-chassis-types.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 597 - (hide annotations) (download)
Mon May 19 19:05:19 2008 UTC (16 years, 1 month ago) by niro
File size: 1312 byte(s)
-gentoo patches

1 niro 597 From 12a794e022fad8536d20b4399888d4d596d75c41 Mon Sep 17 00:00:00 2001
2     From: Danny Kukawka <danny.kukawka@web.de>
3     Date: Sun, 11 Nov 2007 18:56:05 +0100
4     Subject: [PATCH] update dmi chassis types
5    
6     Updated dmi chassis types (added 0x1A and 0x1B), added comment
7     about the related numbers which represent the text.
8     ---
9     hald/linux/osspec.c | 4 +++-
10     1 files changed, 3 insertions(+), 1 deletions(-)
11    
12     diff --git a/hald/linux/osspec.c b/hald/linux/osspec.c
13     index f103d46..fa9dc69 100644
14     --- a/hald/linux/osspec.c
15     +++ b/hald/linux/osspec.c
16     @@ -493,7 +493,7 @@ computer_probing_pcbios_helper_done (HalDevice *d, guint32 exit_type,
17     * TODO: figure out WTF the mapping should be; "Lunch Box"? Give me a break :-)
18     */
19     static const char *chassis_map[] = {
20     - "Other", "unknown",
21     + "Other", "unknown", /* 0x01 */
22     "Unknown", "unknown",
23     "Desktop", "desktop",
24     "Low Profile Desktop", "desktop",
25     @@ -518,6 +518,8 @@ computer_probing_pcbios_helper_done (HalDevice *d, guint32 exit_type,
26     "Rack Mount Chassis", "unknown",
27     "Sealed-case PC", "unknown",
28     "Multi-system", "unknown",
29     + "CompactPCI", "unknonw",
30     + "AdvancedTCA", "unknown", /* 0x1B */
31     NULL
32     };
33    
34     --
35     1.5.3.7
36