diff options
author | Jean Delvare <khali@linux-fr.org> | 2006-04-25 08:20:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-22 14:10:33 -0400 |
commit | 4f507ea1560805b16cf4a4359e304ae0db0c2dcb (patch) | |
tree | 3b94e81b46f2c42461e2aaa734783ca94940efd4 /drivers/hwmon | |
parent | 5c7ae65899a4c5b05b6277f856018d1eeeb98907 (diff) |
[PATCH] HWMON: hdaps: Update the list of supported systems
Update the list of systems supported by the hdaps driver:
* Add the "ThinkPad Z60m" entry, reported by Arkadiusz Miskiewicz.
* Add the "ThinkPad H" entry, reported by Frank Gevaerts for some
ThinkPad R52 models (1846AQG).
* Drop the "ThinkPad X41 Tablet" entry, which looks redundant to me.
And a comment update for good measure.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Arkadiusz Miskiewicz <arekm@maven.pl>
Cc: Frank Gevaerts <frank@gevaerts.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/hdaps.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c index 1659f6c41458..7841fa070252 100644 --- a/drivers/hwmon/hdaps.c +++ b/drivers/hwmon/hdaps.c | |||
@@ -522,13 +522,15 @@ static int __init hdaps_init(void) | |||
522 | { | 522 | { |
523 | int ret; | 523 | int ret; |
524 | 524 | ||
525 | /* Note that DMI_MATCH(...,"ThinkPad T42") will match "ThinkPad T42p" */ | 525 | /* Note that HDAPS_DMI_MATCH_NORMAL("ThinkPad T42") would match |
526 | "ThinkPad T42p", so the order of the entries matters */ | ||
526 | struct dmi_system_id hdaps_whitelist[] = { | 527 | struct dmi_system_id hdaps_whitelist[] = { |
527 | HDAPS_DMI_MATCH_NORMAL("ThinkPad H"), | 528 | HDAPS_DMI_MATCH_NORMAL("ThinkPad H"), |
528 | HDAPS_DMI_MATCH_INVERT("ThinkPad R50p"), | 529 | HDAPS_DMI_MATCH_INVERT("ThinkPad R50p"), |
529 | HDAPS_DMI_MATCH_NORMAL("ThinkPad R50"), | 530 | HDAPS_DMI_MATCH_NORMAL("ThinkPad R50"), |
530 | HDAPS_DMI_MATCH_NORMAL("ThinkPad R51"), | 531 | HDAPS_DMI_MATCH_NORMAL("ThinkPad R51"), |
531 | HDAPS_DMI_MATCH_NORMAL("ThinkPad R52"), | 532 | HDAPS_DMI_MATCH_NORMAL("ThinkPad R52"), |
533 | HDAPS_DMI_MATCH_NORMAL("ThinkPad H"), /* R52 (1846AQG) */ | ||
532 | HDAPS_DMI_MATCH_INVERT("ThinkPad T41p"), | 534 | HDAPS_DMI_MATCH_INVERT("ThinkPad T41p"), |
533 | HDAPS_DMI_MATCH_NORMAL("ThinkPad T41"), | 535 | HDAPS_DMI_MATCH_NORMAL("ThinkPad T41"), |
534 | HDAPS_DMI_MATCH_INVERT("ThinkPad T42p"), | 536 | HDAPS_DMI_MATCH_INVERT("ThinkPad T42p"), |
@@ -536,9 +538,9 @@ static int __init hdaps_init(void) | |||
536 | HDAPS_DMI_MATCH_NORMAL("ThinkPad T43"), | 538 | HDAPS_DMI_MATCH_NORMAL("ThinkPad T43"), |
537 | HDAPS_DMI_MATCH_LENOVO("ThinkPad T60p"), | 539 | HDAPS_DMI_MATCH_LENOVO("ThinkPad T60p"), |
538 | HDAPS_DMI_MATCH_NORMAL("ThinkPad X40"), | 540 | HDAPS_DMI_MATCH_NORMAL("ThinkPad X40"), |
539 | HDAPS_DMI_MATCH_NORMAL("ThinkPad X41 Tablet"), | ||
540 | HDAPS_DMI_MATCH_NORMAL("ThinkPad X41"), | 541 | HDAPS_DMI_MATCH_NORMAL("ThinkPad X41"), |
541 | HDAPS_DMI_MATCH_LENOVO("ThinkPad X60"), | 542 | HDAPS_DMI_MATCH_LENOVO("ThinkPad X60"), |
543 | HDAPS_DMI_MATCH_NORMAL("ThinkPad Z60m"), | ||
542 | { .ident = NULL } | 544 | { .ident = NULL } |
543 | }; | 545 | }; |
544 | 546 | ||