diff options
author | Alistair John Strachan <alistair@devzero.co.uk> | 2009-01-15 22:27:47 +0100 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-01-15 22:27:47 +0100 |
commit | 058943ddcb7cb307a0c406088c1e61f203d8b66f (patch) | |
tree | 83fe67fa183d7b68ec3cf2c5f91918cd199e16a5 /arch/x86/kernel/smpboot.c | |
parent | 1c301fc5394f7e1aa4c201e6e03d55d9c08b3bdf (diff) | |
download | op-kernel-dev-058943ddcb7cb307a0c406088c1e61f203d8b66f.zip op-kernel-dev-058943ddcb7cb307a0c406088c1e61f203d8b66f.tar.gz |
hwmon: (abituguru3) Match partial DMI board name strings
The switch-over to using DMI board strings to identify abituguru3 compatible
mainboards works most of the time, but sometimes the vendor has substantially
modified the board string between BIOS revisions.
We have found that the vendor chipset identification string (provided in
brackets) changes frequently and is of no use to us. The rest of the board
string sometimes changes in subtle ways, e.g. whitespace or variations in
capitalization.
The new comparison code checks only a part of the supplied DMI board string,
trimming the bracketed content, whitespace, and ignoring case as necessary.
This fixes a bug where an IP35 Pro running an early BIOS would not be
detected without the force=1 module parameter, and also speculatively
fixes other similiar issues.
Signed-off-by: Alistair John Strachan <alistair@devzero.co.uk>
Reported-by: Nick Pasich <NewsLetters@nickandbarb.net>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
0 files changed, 0 insertions, 0 deletions