Blame linux-2.6-defaults-aspm.patch
|
Jesse Keating |
7a32965 |
diff -up linux-2.6.30.noarch/drivers/pci/pcie/aspm.c.mjg linux-2.6.30.noarch/drivers/pci/pcie/aspm.c
|
|
Jesse Keating |
7a32965 |
--- linux-2.6.30.noarch/drivers/pci/pcie/aspm.c.mjg 2009-07-16 22:01:11.000000000 +0100
|
|
Jesse Keating |
7a32965 |
+++ linux-2.6.30.noarch/drivers/pci/pcie/aspm.c 2009-07-16 22:01:30.000000000 +0100
|
|
Jesse Keating |
7a32965 |
@@ -65,7 +65,7 @@ static LIST_HEAD(link_list);
|
|
Jesse Keating |
7a32965 |
#define POLICY_DEFAULT 0 /* BIOS default setting */
|
|
Jesse Keating |
7a32965 |
#define POLICY_PERFORMANCE 1 /* high performance */
|
|
Jesse Keating |
7a32965 |
#define POLICY_POWERSAVE 2 /* high power saving */
|
|
Jesse Keating |
7a32965 |
-static int aspm_policy;
|
|
Jesse Keating |
7a32965 |
+static int aspm_policy = POLICY_POWERSAVE;
|
|
Jesse Keating |
7a32965 |
static const char *policy_str[] = {
|
|
Jesse Keating |
7a32965 |
[POLICY_DEFAULT] = "default",
|
|
Jesse Keating |
7a32965 |
[POLICY_PERFORMANCE] = "performance",
|