summaryrefslogtreecommitdiffstats
path: root/linux-2.6-defaults-aspm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'linux-2.6-defaults-aspm.patch')
-rw-r--r--linux-2.6-defaults-aspm.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-2.6-defaults-aspm.patch b/linux-2.6-defaults-aspm.patch
new file mode 100644
index 0000000..49b832d
--- /dev/null
+++ b/linux-2.6-defaults-aspm.patch
@@ -0,0 +1,12 @@
+diff -up linux-2.6.30.noarch/drivers/pci/pcie/aspm.c.mjg linux-2.6.30.noarch/drivers/pci/pcie/aspm.c
+--- linux-2.6.30.noarch/drivers/pci/pcie/aspm.c.mjg 2009-07-16 22:01:11.000000000 +0100
++++ linux-2.6.30.noarch/drivers/pci/pcie/aspm.c 2009-07-16 22:01:30.000000000 +0100
+@@ -65,7 +65,7 @@ static LIST_HEAD(link_list);
+ #define POLICY_DEFAULT 0 /* BIOS default setting */
+ #define POLICY_PERFORMANCE 1 /* high performance */
+ #define POLICY_POWERSAVE 2 /* high power saving */
+-static int aspm_policy;
++static int aspm_policy = POLICY_POWERSAVE;
+ static const char *policy_str[] = {
+ [POLICY_DEFAULT] = "default",
+ [POLICY_PERFORMANCE] = "performance",