diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-07-26 00:54:42 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-07-26 00:54:42 +0000 |
commit | fe04b399d684028e68efcf5a4d29d8be53edddc2 (patch) | |
tree | cb91d6d51031de7b195f4586549603e3a0e82080 /82802ab.c | |
parent | b9ec59b62d47910d39fb9ddb095b341fb5bdea86 (diff) | |
download | flashrom-fe04b399d684028e68efcf5a4d29d8be53edddc2.zip flashrom-fe04b399d684028e68efcf5a4d29d8be53edddc2.tar.gz |
Be more refined regarding DMI chassis types
We had broken laptops in the past that were not detected as such because
their DMI chassis-type was either undefined/out-of-spec, or set to
'other' or 'unknown'.
this patch tries to mitigate this problem as follows:
- if the DMI chassis-type clearly identifies the system as
laptop/notebook/mobile platform then nothing changes: the user gets
the laptop warning without a hint to the force switch.
- if the DMI chassis-type is not specific enough, we warn the user
similarly, but tell them the switch.
to reduce the number of false positives i have added a few new
chassis types that we have encountered in the last months to the list.
Corresponding to flashrom svn r1390.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to '82802ab.c')
0 files changed, 0 insertions, 0 deletions