diff options
author | Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 2006-10-03 15:34:28 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-10-15 19:57:10 -0400 |
commit | 83d0515bbb10c7a3e52eee697d1032e447291eda (patch) | |
tree | dba32263b1d8374422d44772455e4acbea75de3a /arch/i386 | |
parent | dde9f7ba60adac0cade262ab9b17654e93c626e2 (diff) |
[CPUFREQ][4/8] acpi-cpufreq: Mark speedstep-centrino ACPI as deprecated
Mark ACPI hooks in speedstep-centrino as deprecated. Change the order in which
speedstep-centrino and acpi-cpufreq (when both are in kernel) will be
added. First driver to be tried is now acpi-cpufreq, followed by
speedstep-centrino.
Add a note in feature-removal-schedule to mark this deprecation.
Signed-off-by: Denis Sadykov <denis.m.sadykov@intel.com>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/Kconfig | 6 | ||||
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/Makefile | 2 | ||||
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | 3 |
3 files changed, 9 insertions, 2 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/Kconfig b/arch/i386/kernel/cpu/cpufreq/Kconfig index ccc1edff5c9..5299c5bf445 100644 --- a/arch/i386/kernel/cpu/cpufreq/Kconfig +++ b/arch/i386/kernel/cpu/cpufreq/Kconfig | |||
@@ -17,6 +17,7 @@ config X86_ACPI_CPUFREQ | |||
17 | help | 17 | help |
18 | This driver adds a CPUFreq driver which utilizes the ACPI | 18 | This driver adds a CPUFreq driver which utilizes the ACPI |
19 | Processor Performance States. | 19 | Processor Performance States. |
20 | This driver also supports Intel Enhanced Speedstep. | ||
20 | 21 | ||
21 | For details, take a look at <file:Documentation/cpu-freq/>. | 22 | For details, take a look at <file:Documentation/cpu-freq/>. |
22 | 23 | ||
@@ -121,11 +122,14 @@ config X86_SPEEDSTEP_CENTRINO | |||
121 | If in doubt, say N. | 122 | If in doubt, say N. |
122 | 123 | ||
123 | config X86_SPEEDSTEP_CENTRINO_ACPI | 124 | config X86_SPEEDSTEP_CENTRINO_ACPI |
124 | bool "Use ACPI tables to decode valid frequency/voltage pairs" | 125 | bool "Use ACPI tables to decode valid frequency/voltage (deprecated)" |
125 | depends on X86_SPEEDSTEP_CENTRINO && ACPI_PROCESSOR | 126 | depends on X86_SPEEDSTEP_CENTRINO && ACPI_PROCESSOR |
126 | depends on !(X86_SPEEDSTEP_CENTRINO = y && ACPI_PROCESSOR = m) | 127 | depends on !(X86_SPEEDSTEP_CENTRINO = y && ACPI_PROCESSOR = m) |
127 | default y | 128 | default y |
128 | help | 129 | help |
130 | This is deprecated and this functionality is now merged into | ||
131 | acpi_cpufreq (X86_ACPI_CPUFREQ). Use that driver instead of | ||
132 | speedstep_centrino. | ||
129 | Use primarily the information provided in the BIOS ACPI tables | 133 | Use primarily the information provided in the BIOS ACPI tables |
130 | to determine valid CPU frequency and voltage pairings. It is | 134 | to determine valid CPU frequency and voltage pairings. It is |
131 | required for the driver to work on non-Banias CPUs. | 135 | required for the driver to work on non-Banias CPUs. |
diff --git a/arch/i386/kernel/cpu/cpufreq/Makefile b/arch/i386/kernel/cpu/cpufreq/Makefile index 2e894f1c891..8de3abe322a 100644 --- a/arch/i386/kernel/cpu/cpufreq/Makefile +++ b/arch/i386/kernel/cpu/cpufreq/Makefile | |||
@@ -7,9 +7,9 @@ obj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o | |||
7 | obj-$(CONFIG_X86_LONGRUN) += longrun.o | 7 | obj-$(CONFIG_X86_LONGRUN) += longrun.o |
8 | obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o | 8 | obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o |
9 | obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o | 9 | obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o |
10 | obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o | ||
11 | obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o | 10 | obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o |
12 | obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o | 11 | obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o |
13 | obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o | 12 | obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o |
13 | obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o | ||
14 | obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o | 14 | obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o |
15 | obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o | 15 | obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o |
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c index e8993baf3d1..70178bf8002 100644 --- a/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c +++ b/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c | |||
@@ -531,6 +531,9 @@ static int centrino_cpu_init_acpi(struct cpufreq_policy *policy) | |||
531 | 531 | ||
532 | /* notify BIOS that we exist */ | 532 | /* notify BIOS that we exist */ |
533 | acpi_processor_notify_smm(THIS_MODULE); | 533 | acpi_processor_notify_smm(THIS_MODULE); |
534 | printk("speedstep-centrino with X86_SPEEDSTEP_CENTRINO_ACPI" | ||
535 | "config is deprecated.\n " | ||
536 | "Use X86_ACPI_CPUFREQ (acpi-cpufreq instead.\n" ); | ||
534 | 537 | ||
535 | return 0; | 538 | return 0; |
536 | 539 | ||