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 Hailfingerc-d.hailfinger.devel.2006@gmx.net
Acked-by: Sean Nelson audiohacked@gmail.com
Thanks, committed in r1182.
Regards, Carl-Daniel