]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - kernel/patches/linux-2.6-defaults-aspm.patch
kernel: Import a couple of patches.
[people/arne_f/ipfire-3.x.git] / kernel / patches / linux-2.6-defaults-aspm.patch
CommitLineData
20bc7289
MT
1diff -up linux-2.6.30.noarch/drivers/pci/pcie/aspm.c.mjg linux-2.6.30.noarch/drivers/pci/pcie/aspm.c
2--- linux-2.6.30.noarch/drivers/pci/pcie/aspm.c.mjg 2009-07-16 22:01:11.000000000 +0100
3+++ linux-2.6.30.noarch/drivers/pci/pcie/aspm.c 2009-07-16 22:01:30.000000000 +0100
4@@ -65,7 +65,7 @@ static LIST_HEAD(link_list);
5 #define POLICY_DEFAULT 0 /* BIOS default setting */
6 #define POLICY_PERFORMANCE 1 /* high performance */
7 #define POLICY_POWERSAVE 2 /* high power saving */
8-static int aspm_policy;
9+static int aspm_policy = POLICY_POWERSAVE;
10 static const char *policy_str[] = {
11 [POLICY_DEFAULT] = "default",
12 [POLICY_PERFORMANCE] = "performance",