[flashrom] [PATCH] DMI chassis-type matching fix
audiohacked at gmail.com
Mon Sep 20 02:09:15 CEST 2010
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>
More information about the flashrom