public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Frank Gevaerts <frank@gevaerts.be>
To: rlove@rlove.org, linux-kernel@vger.kernel.org
Subject: patch : hdaps on Thinkpad R52
Date: Tue, 14 Mar 2006 21:57:58 +0100	[thread overview]
Message-ID: <20060314205758.GA9229@gevaerts.be> (raw)

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

Hello,

I had to add a new entry to the hdaps_whitelist table in hdaps.c to get
my Thinkpad R52 recognized. Patch is attached

Frank


-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

[-- Attachment #2: hdaps-r52.patch --]
[-- Type: text/plain, Size: 564 bytes --]

diff -ur linux-2.6.16-rc4/drivers/hwmon/hdaps.c linux-2.6.16-rc4-fg/drivers/hwmon/hdaps.c
--- linux-2.6.16-rc4/drivers/hwmon/hdaps.c	2006-01-03 04:21:10.000000000 +0100
+++ linux-2.6.16-rc4-fg/drivers/hwmon/hdaps.c	2006-02-24 13:25:53.000000000 +0100
@@ -515,6 +515,7 @@
 
 	/* Note that DMI_MATCH(...,"ThinkPad T42") will match "ThinkPad T42p" */
 	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"),

             reply	other threads:[~2006-03-14 20:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-14 20:57 Frank Gevaerts [this message]
2006-03-25 21:09 ` patch : hdaps on Thinkpad R52 Adrian Bunk
2006-03-25 23:35   ` Arkadiusz Miskiewicz
2006-03-28 16:56     ` Jean Delvare
2006-03-29 16:44   ` [PATCH 2.6.16-rc4] hdaps: add support for " Frank Gevaerts
2006-03-28 16:29 ` patch : hdaps on " Jean Delvare
2006-03-28 17:00   ` Frank Gevaerts
2006-04-01 15:04     ` Jean Delvare
2006-04-01 21:32       ` Frank Gevaerts
2006-04-03 16:35       ` Frank Gevaerts
2006-04-08 15:02         ` Jean Delvare
2006-04-08 16:53           ` Frank Gevaerts
2006-10-11 14:07           ` Jean Delvare
2006-10-11 14:38             ` Frank Gevaerts

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=20060314205758.GA9229@gevaerts.be \
    --to=frank@gevaerts.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rlove@rlove.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