public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephan Berberig <s.berberig@arcor.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] hdaps: remove duplicate whitelist entry and add ThinkPad R52 (1847W62)
Date: Sun, 01 Oct 2006 14:02:13 +0200	[thread overview]
Message-ID: <451FAE45.703@arcor.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 373 bytes --]

Hi,

the attached patch removes a duplicate whitelist entry for the "ThinkPad
H" and adds the "strange" DMI for the ThinkPad R52 (1847W62).

BTW, The strange DMIs for the ThinkPad R52 1846AQG and 1847W62 are fixed
in latest BIOS. See http://www.thinkwiki.org/wiki/List_of_DMI_IDs#R_series

Best regards,
Stephan

PS: Please CC me as I'm not subscribed to the list. Thanks!

[-- Attachment #2: hdaps-for-2.6.18-git15.patch --]
[-- Type: text/x-patch, Size: 829 bytes --]

--- linux-2.6.18-git15/drivers/hwmon/hdaps.c.orig	2006-10-01 13:49:03.000000000 +0200
+++ linux-2.6.18-git15/drivers/hwmon/hdaps.c	2006-10-01 13:50:12.000000000 +0200
@@ -525,12 +525,12 @@
 	/* Note that HDAPS_DMI_MATCH_NORMAL("ThinkPad T42") would match
 	  "ThinkPad T42p", so the order of the entries matters */
 	struct dmi_system_id hdaps_whitelist[] = {
-		HDAPS_DMI_MATCH_NORMAL("ThinkPad H"),
 		HDAPS_DMI_MATCH_INVERT("ThinkPad R50p"),
 		HDAPS_DMI_MATCH_NORMAL("ThinkPad R50"),
 		HDAPS_DMI_MATCH_NORMAL("ThinkPad R51"),
 		HDAPS_DMI_MATCH_NORMAL("ThinkPad R52"),
 		HDAPS_DMI_MATCH_NORMAL("ThinkPad H"),	 /* R52 (1846AQG) */
+		HDAPS_DMI_MATCH_NORMAL("ThinkPad ."),	 /* R52 (1847W62) */
 		HDAPS_DMI_MATCH_INVERT("ThinkPad T41p"),
 		HDAPS_DMI_MATCH_NORMAL("ThinkPad T41"),
 		HDAPS_DMI_MATCH_INVERT("ThinkPad T42p"),

                 reply	other threads:[~2006-10-01 12:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=451FAE45.703@arcor.de \
    --to=s.berberig@arcor.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox