Revision: 131
http://svn.sourceforge.net/mactel-linux/?rev=131&view=rev
Author: nboichat
Date: 2007-06-19 10:59:55 -0700 (Tue, 19 Jun 2007)
Log Message:
-----------
Add applesmc-export-address.patch to 2.6.21 patch line.
Modified Paths:
--------------
trunk/kernel/mactel-patches-2.6.21/series
Added Paths:
-----------
trunk/kernel/mactel-patches-2.6.21/applesmc-export-address.patch
Added: trunk/kernel/mactel-patches-2.6.21/applesmc-export-address.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.21/applesmc-export-address.patch
(rev 0)
+++ trunk/kernel/mactel-patches-2.6.21/applesmc-export-address.patch
2007-06-19 17:59:55 UTC (rev 131)
@@ -0,0 +1,24 @@
+Let the applesmc device export its address to userspace. libsensors needs this
to recognize the device and give it a unique ID.
+
+From: Jean Delvare <[EMAIL PROTECTED]>
+
+
+---
+
+ drivers/hwmon/applesmc.c | 3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
+index 5fec762..b36b8a0 100644
+--- a/drivers/hwmon/applesmc.c
++++ b/drivers/hwmon/applesmc.c
+@@ -1468,7 +1468,8 @@ static int __init applesmc_init(void)
+ if (ret)
+ goto out_region;
+
+- pdev = platform_device_register_simple("applesmc", -1, NULL, 0);
++ pdev = platform_device_register_simple("applesmc", APPLESMC_DATA_PORT,
++ NULL, 0);
+ if (IS_ERR(pdev)) {
+ ret = PTR_ERR(pdev);
+ goto out_driver;
Modified: trunk/kernel/mactel-patches-2.6.21/series
===================================================================
--- trunk/kernel/mactel-patches-2.6.21/series 2007-06-19 13:42:37 UTC (rev
130)
+++ trunk/kernel/mactel-patches-2.6.21/series 2007-06-19 17:59:55 UTC (rev
131)
@@ -11,3 +11,4 @@
msr.patch
sigmatel_audio3.patch
fix_usb_hidinput_powerbook_comment.patch
+applesmc-export-address.patch
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mactel-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel