r1315 - in trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian: . patches

Christoph Hellwig hch-guest@haydn.debian.org
Wed, 25 Aug 2004 11:19:14 -0600


Author: hch-guest
Date: 2004-08-25 11:19:09 -0600 (Wed, 25 Aug 2004)
New Revision: 1315

Added:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/acpi-speedstep-fix.dpatch
Modified:
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog
   trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/00list-3
Log:

  * Add small ACPI fix that makes speedstep work on some Centrino Laptops
    (closes: #257763) (Christoph Hellwig).



Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog	2004-08-25 17:13:51 UTC (rev 1314)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/changelog	2004-08-25 17:19:09 UTC (rev 1315)
@@ -43,6 +43,9 @@
 
   * Modularize xfrm_tunnel (Christoph Hellwig).
 
+  * Add small ACPI fix that makes speedstep work on some Centrino Laptops
+    (closes: #257763) (Christoph Hellwig).
+
  -- Sven Luther <luther@debian.org>  Wed, 25 Aug 2004 17:40:07 +0200
 
 kernel-source-2.6.8 (2.6.8-2) unstable; urgency=high

Modified: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/00list-3
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/00list-3	2004-08-25 17:13:51 UTC (rev 1314)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/00list-3	2004-08-25 17:19:09 UTC (rev 1315)
@@ -35,6 +35,7 @@
 scsi-blacklist
 acpi-osname
 acpi-early
+acpi-speedstep-fix
 pmac-no-of-stdout
 net-sched-fix
 drivers-scsi-sym_2-dv-hang

Added: trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/acpi-speedstep-fix.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/acpi-speedstep-fix.dpatch	2004-08-25 17:13:51 UTC (rev 1314)
+++ trunk/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/acpi-speedstep-fix.dpatch	2004-08-25 17:19:09 UTC (rev 1315)
@@ -0,0 +1,32 @@
+#! /bin/sh -e 
+## <PATCHNAME>.dpatch by <PATCH_AUTHOR@EMAI>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Description: fix acpi speedstep interaction (#257763)
+## DP: Patch author: unknown
+## DP: Upstream status: from ACPICA 20040715, so probably soon merged
+
+. $(dirname $0)/DPATCH
+
+@DPATCH@
+diff -Bru 2.6.new/drivers/acpi/dispatcher/dsopcode.c patched/drivers/acpi/dispatcher/dsopcode.c
+--- 2.6.new/drivers/acpi/dispatcher/dsopcode.c	2004-04-28 11:45:01.000000000 +0800
++++ patched/drivers/acpi/dispatcher/dsopcode.c	2004-05-20 19:36:31.000000000 +0800
+@@ -79,7 +79,6 @@
+ 	acpi_status                     status;
+ 	union acpi_parse_object         *op;
+ 	struct acpi_walk_state          *walk_state;
+-	union acpi_parse_object         *arg;
+ 
+ 
+ 	ACPI_FUNCTION_TRACE ("ds_execute_arguments");
+@@ -126,9 +125,7 @@
+ 
+ 	/* Get and init the Op created above */
+ 
+-	arg = op->common.value.arg;
+ 	op->common.node = node;
+-	arg->common.node = node;
+ 	acpi_ps_delete_parse_tree (op);
+ 
+ 	/* Evaluate the deferred arguments */