]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - kernel/patches/linux-2.6-defaults-aspm.patch
Dev86: Forgot to change version number.
[people/ms/ipfire-3.x.git] / kernel / patches / linux-2.6-defaults-aspm.patch
1 diff -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",