[PATCH] fix mapping of chassitype to system.formfactor
Danny Kukawka
danny.kukawka at web.de
Fri May 5 08:48:57 PDT 2006
Hi,
this patch fix the mapping of smbios.chassis.type to system.formfactor. I
added a device_property_atomic_update_begin()/end() around the mapping and a
check if the property is already set to avoid overwrite values e.g. set in
the ACPI/APM/PMU code. With this patch I changed/moved set a default value
('unkown') for system.formfactor.
Also added a check for the value of exit_type to skip mapping if execution of
the smbios prober failed.
Please review.
Cheers,
Danny
ChangeLog | 11 +++
hald/linux2/osspec.c | 129 ++++++++++++++++++++++-------------------
2 files changed, 81 insertions(+), 59 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-map_system.formfactor_again_v3.diff
Type: text/x-diff
Size: 7677 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060505/adcbb3f7/hal-fix-map_system.formfactor_again_v3.bin
More information about the hal
mailing list