diff options
author | Stephan Berberig <s.berberig@arcor.de> | 2006-12-12 12:18:28 -0500 |
---|---|---|
committer | Jean Delvare <khali@arrakis.delvare> | 2006-12-12 12:18:28 -0500 |
commit | 0f23e50aa5fc578e1c50e873858e6ab7a1e32f0e (patch) | |
tree | 7c77ab70fdb0b846904d030b530d092ba9109f03 | |
parent | 509a5e85c3a8f0a81c916fac4579b6d1b5ea58da (diff) |
hwmon/hdaps: Update the list of supported devices
Remove the strange DMI for the R52 (1846AQG)
and add a note to update to latest BIOS in the Kconfig
and source code.
Signed-off-by: Stephan Berberig <s.berberig@arcor.de>
Signed-off-by: Robert Love <rlove@rlove.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
-rw-r--r-- | drivers/hwmon/Kconfig | 3 | ||||
-rw-r--r-- | drivers/hwmon/hdaps.c | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index e76d91906c99..39ab2fc128cf 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig | |||
@@ -527,6 +527,9 @@ config SENSORS_HDAPS | |||
527 | This driver also provides an absolute input class device, allowing | 527 | This driver also provides an absolute input class device, allowing |
528 | the laptop to act as a pinball machine-esque joystick. | 528 | the laptop to act as a pinball machine-esque joystick. |
529 | 529 | ||
530 | If your ThinkPad is not recognized by the driver, please update to latest | ||
531 | BIOS. This is especially the case for some R52 ThinkPads. | ||
532 | |||
530 | Say Y here if you have an applicable laptop and want to experience | 533 | Say Y here if you have an applicable laptop and want to experience |
531 | the awesome power of hdaps. | 534 | the awesome power of hdaps. |
532 | 535 | ||
diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c index 0b11698fe566..bf759ea545ac 100644 --- a/drivers/hwmon/hdaps.c +++ b/drivers/hwmon/hdaps.c | |||
@@ -511,14 +511,14 @@ static int __init hdaps_dmi_match_invert(struct dmi_system_id *id) | |||
511 | } | 511 | } |
512 | 512 | ||
513 | /* Note that HDAPS_DMI_MATCH_NORMAL("ThinkPad T42") would match | 513 | /* Note that HDAPS_DMI_MATCH_NORMAL("ThinkPad T42") would match |
514 | "ThinkPad T42p", so the order of the entries matters */ | 514 | "ThinkPad T42p", so the order of the entries matters. |
515 | If your ThinkPad is not recognized, please update to latest | ||
516 | BIOS. This is especially the case for some R52 ThinkPads. */ | ||
515 | static struct dmi_system_id __initdata hdaps_whitelist[] = { | 517 | static struct dmi_system_id __initdata hdaps_whitelist[] = { |
516 | HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad H"), | ||
517 | HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad R50p"), | 518 | HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad R50p"), |
518 | HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R50"), | 519 | HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R50"), |
519 | HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R51"), | 520 | HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R51"), |
520 | HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R52"), | 521 | HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R52"), |
521 | HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad H"), /* R52 (1846AQG) */ | ||
522 | HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T41p"), | 522 | HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T41p"), |
523 | HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T41"), | 523 | HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T41"), |
524 | HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T42p"), | 524 | HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T42p"), |