summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_sx4.c
diff options
context:
space:
mode:
authorAlistair John Strachan <alistair@devzero.co.uk>2009-01-15 22:27:47 +0100
committerJean Delvare <khali@linux-fr.org>2009-01-15 22:27:47 +0100
commit058943ddcb7cb307a0c406088c1e61f203d8b66f (patch)
tree83fe67fa183d7b68ec3cf2c5f91918cd199e16a5 /drivers/ata/sata_sx4.c
parent1c301fc5394f7e1aa4c201e6e03d55d9c08b3bdf (diff)
downloadblackbird-op-linux-058943ddcb7cb307a0c406088c1e61f203d8b66f.tar.gz
blackbird-op-linux-058943ddcb7cb307a0c406088c1e61f203d8b66f.zip
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 'drivers/ata/sata_sx4.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud