rpms/kernel/F-8 linux-2.6-hwmon-hdaps-add-new-models.patch, NONE, 1.1 kernel.spec, 1.488, 1.489

Chuck Ebbert (cebbert) fedora-extras-commits at redhat.com
Thu Jul 10 00:16:11 UTC 2008


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23260

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-hwmon-hdaps-add-new-models.patch 
Log Message:
* Wed Jul 09 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.25.9-49
- hdaps: support new Lenovo notebook models (F9#449888)


linux-2.6-hwmon-hdaps-add-new-models.patch:

--- NEW FILE linux-2.6-hwmon-hdaps-add-new-models.patch ---

hdaps: add new lenovo models

Comination of these three upstream commits:

commit ca68d0ac16539a062ae26ca50da8b186fa3a0814
hdaps: invert the axes for HDAPS on Lenovo R61i ThinkPads

commit a4fa7ef037b17f2a3b9b393cb924e571fc04e784
hdaps: fix module loading on Thinkpad T61P

commit 292d73551d0aa19526c3417e791c529b49ebadf3
hdaps: add support for various newer Lenovo thinkpads

Signed-off-by: Chuck Ebbert <cebbert at redhat.com>
---

redhat bz 449888

diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c
index 26df06f..50f2269 100644
--- a/drivers/hwmon/hdaps.c
+++ b/drivers/hwmon/hdaps.c
@@ -515,16 +515,24 @@ static struct dmi_system_id __initdata hdaps_whitelist[] = {
 	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R50"),
 	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R51"),
 	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R52"),
+	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad R61i"),
+	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad R61"),
 	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T41p"),
 	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T41"),
 	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T42p"),
 	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T42"),
 	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T43"),
 	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T60"),
+	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T61p"),
+	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T61"),
 	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad X40"),
 	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad X41"),
 	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X60"),
+	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X61s"),
+	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X61"),
 	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad Z60m"),
+	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad Z61m"),
+	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad Z61p"),
 	{ .ident = NULL }
 };
 


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.488
retrieving revision 1.489
diff -u -r1.488 -r1.489
--- kernel.spec	8 Jul 2008 17:52:51 -0000	1.488
+++ kernel.spec	10 Jul 2008 00:15:24 -0000	1.489
@@ -668,6 +668,8 @@
 Patch1308: linux-2.6-usb-ehci-hcd-respect-nousb.patch
 Patch1310: linux-2.6-usb-fix-interrupt-disabling.patch
 
+Patch1350: linux-2.6-hwmon-hdaps-add-new-models.patch
+
 Patch1400: linux-2.6-smarter-relatime.patch
 
 Patch1515: linux-2.6-lirc.patch
@@ -1211,6 +1213,7 @@
 # ISDN
 
 # hwmon
+ApplyPatch linux-2.6-hwmon-hdaps-add-new-models.patch
 
 # implement smarter atime updates support.
 ApplyPatch linux-2.6-smarter-relatime.patch
@@ -1827,6 +1830,9 @@
 
 
 %changelog
+* Wed Jul 09 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.25.9-49
+- hdaps: support new Lenovo notebook models (F9#449888)
+
 * Tue Jul 08 2008 John W. Linville <linville at redhat.com> 2.6.25.9-48
 - Upstream wireless fixes from 2008-07-07
   (http://marc.info/?l=linux-wireless&m=121546143025524&w=2)




More information about the scm-commits mailing list