[flashrom] [PATCH] DMI chassis-type matching fix

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sun Sep 26 23:44:54 CEST 2010


On 20.09.2010 02:09, Sean Nelson wrote:
> On 9/13/10 8:34 PM, Carl-Daniel Hailfinger wrote:
>> Half a dozen hardcoded strcmp() don't make sense if we need a
>> chassis-type list anyway once we merge the internal DMI decoder.
>> Provide and array of the most interesting chassis types and annotate
>> them with laptop/non-laptop status.
>> Match the dmidecode chassis type against the strings in the array.
>>
>> Should work.
>>
>> Signed-off-by: Carl-Daniel Hailfinger<c-d.hailfinger.devel.2006 at gmx.net>
> Acked-by: Sean Nelson <audiohacked at gmail.com>

Thanks, committed in r1182.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the flashrom mailing list