Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xiphi1978
linux
提交
bb0a56ec
L
linux
项目概览
xiphi1978
/
linux
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bb0a56ec
编写于
5月 19, 2011
作者:
D
Dave Jones
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CPUFREQ] Move x86 drivers to drivers/cpufreq/
Signed-off-by:
N
Dave Jones
<
davej@redhat.com
>
上级
1a8e1463
变更
29
隐藏空白更改
内联
并排
Showing
29 changed file
with
37 addition
and
36 deletion
+37
-36
arch/x86/Kconfig
arch/x86/Kconfig
+1
-1
arch/x86/kernel/cpu/Makefile
arch/x86/kernel/cpu/Makefile
+0
-1
arch/x86/kernel/cpu/cpufreq/Makefile
arch/x86/kernel/cpu/cpufreq/Makefile
+0
-21
drivers/cpufreq/Kconfig
drivers/cpufreq/Kconfig
+9
-1
drivers/cpufreq/Kconfig.x86
drivers/cpufreq/Kconfig.x86
+1
-12
drivers/cpufreq/Makefile
drivers/cpufreq/Makefile
+26
-0
drivers/cpufreq/acpi-cpufreq.c
drivers/cpufreq/acpi-cpufreq.c
+0
-0
drivers/cpufreq/cpufreq-nforce2.c
drivers/cpufreq/cpufreq-nforce2.c
+0
-0
drivers/cpufreq/e_powersaver.c
drivers/cpufreq/e_powersaver.c
+0
-0
drivers/cpufreq/elanfreq.c
drivers/cpufreq/elanfreq.c
+0
-0
drivers/cpufreq/gx-suspmod.c
drivers/cpufreq/gx-suspmod.c
+0
-0
drivers/cpufreq/longhaul.c
drivers/cpufreq/longhaul.c
+0
-0
drivers/cpufreq/longhaul.h
drivers/cpufreq/longhaul.h
+0
-0
drivers/cpufreq/longrun.c
drivers/cpufreq/longrun.c
+0
-0
drivers/cpufreq/mperf.c
drivers/cpufreq/mperf.c
+0
-0
drivers/cpufreq/mperf.h
drivers/cpufreq/mperf.h
+0
-0
drivers/cpufreq/p4-clockmod.c
drivers/cpufreq/p4-clockmod.c
+0
-0
drivers/cpufreq/pcc-cpufreq.c
drivers/cpufreq/pcc-cpufreq.c
+0
-0
drivers/cpufreq/powernow-k6.c
drivers/cpufreq/powernow-k6.c
+0
-0
drivers/cpufreq/powernow-k7.c
drivers/cpufreq/powernow-k7.c
+0
-0
drivers/cpufreq/powernow-k7.h
drivers/cpufreq/powernow-k7.h
+0
-0
drivers/cpufreq/powernow-k8.c
drivers/cpufreq/powernow-k8.c
+0
-0
drivers/cpufreq/powernow-k8.h
drivers/cpufreq/powernow-k8.h
+0
-0
drivers/cpufreq/sc520_freq.c
drivers/cpufreq/sc520_freq.c
+0
-0
drivers/cpufreq/speedstep-centrino.c
drivers/cpufreq/speedstep-centrino.c
+0
-0
drivers/cpufreq/speedstep-ich.c
drivers/cpufreq/speedstep-ich.c
+0
-0
drivers/cpufreq/speedstep-lib.c
drivers/cpufreq/speedstep-lib.c
+0
-0
drivers/cpufreq/speedstep-lib.h
drivers/cpufreq/speedstep-lib.h
+0
-0
drivers/cpufreq/speedstep-smi.c
drivers/cpufreq/speedstep-smi.c
+0
-0
未找到文件。
arch/x86/Kconfig
浏览文件 @
bb0a56ec
...
...
@@ -1848,7 +1848,7 @@ config APM_ALLOW_INTS
endif # APM
source "
arch/x86/kernel/cpu
/cpufreq/Kconfig"
source "
drivers
/cpufreq/Kconfig"
source "drivers/cpuidle/Kconfig"
...
...
arch/x86/kernel/cpu/Makefile
浏览文件 @
bb0a56ec
...
...
@@ -30,7 +30,6 @@ obj-$(CONFIG_PERF_EVENTS) += perf_event.o
obj-$(CONFIG_X86_MCE)
+=
mcheck/
obj-$(CONFIG_MTRR)
+=
mtrr/
obj-$(CONFIG_CPU_FREQ)
+=
cpufreq/
obj-$(CONFIG_X86_LOCAL_APIC)
+=
perfctr-watchdog.o
...
...
arch/x86/kernel/cpu/cpufreq/Makefile
已删除
100644 → 0
浏览文件 @
1a8e1463
# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
# K8 systems. ACPI is preferred to all other hardware-specific drivers.
# speedstep-* is preferred over p4-clockmod.
obj-$(CONFIG_X86_POWERNOW_K8)
+=
powernow-k8.o mperf.o
obj-$(CONFIG_X86_ACPI_CPUFREQ)
+=
acpi-cpufreq.o mperf.o
obj-$(CONFIG_X86_PCC_CPUFREQ)
+=
pcc-cpufreq.o
obj-$(CONFIG_X86_POWERNOW_K6)
+=
powernow-k6.o
obj-$(CONFIG_X86_POWERNOW_K7)
+=
powernow-k7.o
obj-$(CONFIG_X86_LONGHAUL)
+=
longhaul.o
obj-$(CONFIG_X86_E_POWERSAVER)
+=
e_powersaver.o
obj-$(CONFIG_ELAN_CPUFREQ)
+=
elanfreq.o
obj-$(CONFIG_SC520_CPUFREQ)
+=
sc520_freq.o
obj-$(CONFIG_X86_LONGRUN)
+=
longrun.o
obj-$(CONFIG_X86_GX_SUSPMOD)
+=
gx-suspmod.o
obj-$(CONFIG_X86_SPEEDSTEP_ICH)
+=
speedstep-ich.o
obj-$(CONFIG_X86_SPEEDSTEP_LIB)
+=
speedstep-lib.o
obj-$(CONFIG_X86_SPEEDSTEP_SMI)
+=
speedstep-smi.o
obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO)
+=
speedstep-centrino.o
obj-$(CONFIG_X86_P4_CLOCKMOD)
+=
p4-clockmod.o
obj-$(CONFIG_X86_CPUFREQ_NFORCE2)
+=
cpufreq-nforce2.o
drivers/cpufreq/Kconfig
浏览文件 @
bb0a56ec
menu "CPU Frequency scaling"
config CPU_FREQ
bool "CPU Frequency scaling"
help
...
...
@@ -177,4 +179,10 @@ config CPU_FREQ_GOV_CONSERVATIVE
If in doubt, say N.
endif # CPU_FREQ
menu "x86 CPU frequency scaling drivers"
depends on X86
source "drivers/cpufreq/Kconfig.x86"
endmenu
endif
endmenu
arch/x86/kernel/cpu/cpufreq/Kconfig
→
drivers/cpufreq/Kconfig.x86
浏览文件 @
bb0a56ec
#
#
CPU Frequency scaling
#
x86 CPU Frequency scaling drivers
#
menu "CPU Frequency scaling"
source "drivers/cpufreq/Kconfig"
if CPU_FREQ
comment "CPUFreq processor drivers"
config X86_PCC_CPUFREQ
tristate "Processor Clocking Control interface driver"
depends on ACPI && ACPI_PROCESSOR
...
...
@@ -261,6 +253,3 @@ config X86_SPEEDSTEP_RELAXED_CAP_CHECK
option lets the probing code bypass some of those checks if the
parameter "relaxed_check=1" is passed to the module.
endif # CPU_FREQ
endmenu
drivers/cpufreq/Makefile
浏览文件 @
bb0a56ec
...
...
@@ -13,3 +13,29 @@ obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o
# CPUfreq cross-arch helpers
obj-$(CONFIG_CPU_FREQ_TABLE)
+=
freq_table.o
##################################################################################d
# x86 drivers.
# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
# K8 systems. ACPI is preferred to all other hardware-specific drivers.
# speedstep-* is preferred over p4-clockmod.
obj-$(CONFIG_X86_POWERNOW_K8)
+=
powernow-k8.o mperf.o
obj-$(CONFIG_X86_ACPI_CPUFREQ)
+=
acpi-cpufreq.o mperf.o
obj-$(CONFIG_X86_PCC_CPUFREQ)
+=
pcc-cpufreq.o
obj-$(CONFIG_X86_POWERNOW_K6)
+=
powernow-k6.o
obj-$(CONFIG_X86_POWERNOW_K7)
+=
powernow-k7.o
obj-$(CONFIG_X86_LONGHAUL)
+=
longhaul.o
obj-$(CONFIG_X86_E_POWERSAVER)
+=
e_powersaver.o
obj-$(CONFIG_ELAN_CPUFREQ)
+=
elanfreq.o
obj-$(CONFIG_SC520_CPUFREQ)
+=
sc520_freq.o
obj-$(CONFIG_X86_LONGRUN)
+=
longrun.o
obj-$(CONFIG_X86_GX_SUSPMOD)
+=
gx-suspmod.o
obj-$(CONFIG_X86_SPEEDSTEP_ICH)
+=
speedstep-ich.o
obj-$(CONFIG_X86_SPEEDSTEP_LIB)
+=
speedstep-lib.o
obj-$(CONFIG_X86_SPEEDSTEP_SMI)
+=
speedstep-smi.o
obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO)
+=
speedstep-centrino.o
obj-$(CONFIG_X86_P4_CLOCKMOD)
+=
p4-clockmod.o
obj-$(CONFIG_X86_CPUFREQ_NFORCE2)
+=
cpufreq-nforce2.o
##################################################################################d
arch/x86/kernel/cpu
/cpufreq/acpi-cpufreq.c
→
drivers
/cpufreq/acpi-cpufreq.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/cpufreq-nforce2.c
→
drivers
/cpufreq/cpufreq-nforce2.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/e_powersaver.c
→
drivers
/cpufreq/e_powersaver.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/elanfreq.c
→
drivers
/cpufreq/elanfreq.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/gx-suspmod.c
→
drivers
/cpufreq/gx-suspmod.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/longhaul.c
→
drivers
/cpufreq/longhaul.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/longhaul.h
→
drivers
/cpufreq/longhaul.h
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/longrun.c
→
drivers
/cpufreq/longrun.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/mperf.c
→
drivers
/cpufreq/mperf.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/mperf.h
→
drivers
/cpufreq/mperf.h
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/p4-clockmod.c
→
drivers
/cpufreq/p4-clockmod.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/pcc-cpufreq.c
→
drivers
/cpufreq/pcc-cpufreq.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/powernow-k6.c
→
drivers
/cpufreq/powernow-k6.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/powernow-k7.c
→
drivers
/cpufreq/powernow-k7.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/powernow-k7.h
→
drivers
/cpufreq/powernow-k7.h
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/powernow-k8.c
→
drivers
/cpufreq/powernow-k8.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/powernow-k8.h
→
drivers
/cpufreq/powernow-k8.h
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/sc520_freq.c
→
drivers
/cpufreq/sc520_freq.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/speedstep-centrino.c
→
drivers
/cpufreq/speedstep-centrino.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/speedstep-ich.c
→
drivers
/cpufreq/speedstep-ich.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/speedstep-lib.c
→
drivers
/cpufreq/speedstep-lib.c
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/speedstep-lib.h
→
drivers
/cpufreq/speedstep-lib.h
浏览文件 @
bb0a56ec
文件已移动
arch/x86/kernel/cpu
/cpufreq/speedstep-smi.c
→
drivers
/cpufreq/speedstep-smi.c
浏览文件 @
bb0a56ec
文件已移动
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录