Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
d26f0528
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
d26f0528
编写于
9月 19, 2009
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'misc-2.6.32' into release
Conflicts: drivers/pci/dmar.c Signed-off-by:
N
Len Brown
<
len.brown@intel.com
>
上级
b963bd39
df43176c
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
41 addition
and
54 deletion
+41
-54
drivers/acpi/bus.c
drivers/acpi/bus.c
+1
-0
drivers/acpi/debug.c
drivers/acpi/debug.c
+34
-48
drivers/acpi/ec.c
drivers/acpi/ec.c
+1
-0
drivers/acpi/pci_slot.c
drivers/acpi/pci_slot.c
+1
-0
drivers/acpi/video.c
drivers/acpi/video.c
+1
-1
drivers/pci/dmar.c
drivers/pci/dmar.c
+1
-0
drivers/platform/x86/hp-wmi.c
drivers/platform/x86/hp-wmi.c
+1
-1
drivers/thermal/Kconfig
drivers/thermal/Kconfig
+1
-0
include/linux/acpi.h
include/linux/acpi.h
+0
-4
未找到文件。
drivers/acpi/bus.c
浏览文件 @
d26f0528
...
@@ -38,6 +38,7 @@
...
@@ -38,6 +38,7 @@
#include <linux/pci.h>
#include <linux/pci.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include <acpi/acpi_drivers.h>
#include <linux/dmi.h>
#include "internal.h"
#include "internal.h"
...
...
drivers/acpi/debug.c
浏览文件 @
d26f0528
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
*/
*/
#include <linux/proc_fs.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
...
@@ -201,72 +202,54 @@ module_param_call(trace_state, param_set_trace_state, param_get_trace_state,
...
@@ -201,72 +202,54 @@ module_param_call(trace_state, param_set_trace_state, param_get_trace_state,
#define ACPI_SYSTEM_FILE_DEBUG_LAYER "debug_layer"
#define ACPI_SYSTEM_FILE_DEBUG_LAYER "debug_layer"
#define ACPI_SYSTEM_FILE_DEBUG_LEVEL "debug_level"
#define ACPI_SYSTEM_FILE_DEBUG_LEVEL "debug_level"
static
int
static
int
acpi_system_debug_proc_show
(
struct
seq_file
*
m
,
void
*
v
)
acpi_system_read_debug
(
char
*
page
,
char
**
start
,
off_t
off
,
int
count
,
int
*
eof
,
void
*
data
)
{
{
char
*
p
=
page
;
int
size
=
0
;
unsigned
int
i
;
unsigned
int
i
;
if
(
off
!=
0
)
seq_printf
(
m
,
"%-25s
\t
Hex SET
\n
"
,
"Description"
);
goto
end
;
p
+=
sprintf
(
p
,
"%-25s
\t
Hex SET
\n
"
,
"Description"
);
switch
((
unsigned
long
)
m
->
private
)
{
switch
((
unsigned
long
)
data
)
{
case
0
:
case
0
:
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
acpi_debug_layers
);
i
++
)
{
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
acpi_debug_layers
);
i
++
)
{
p
+=
sprintf
(
p
,
"%-25s
\t
0x%08lX [%c]
\n
"
,
seq_printf
(
m
,
"%-25s
\t
0x%08lX [%c]
\n
"
,
acpi_debug_layers
[
i
].
name
,
acpi_debug_layers
[
i
].
name
,
acpi_debug_layers
[
i
].
value
,
acpi_debug_layers
[
i
].
value
,
(
acpi_dbg_layer
&
acpi_debug_layers
[
i
].
(
acpi_dbg_layer
&
acpi_debug_layers
[
i
].
value
)
?
'*'
:
' '
);
value
)
?
'*'
:
' '
);
}
}
p
+=
sprintf
(
p
,
"%-25s
\t
0x%08X [%c]
\n
"
,
"ACPI_ALL_DRIVERS"
,
seq_printf
(
m
,
"%-25s
\t
0x%08X [%c]
\n
"
,
"ACPI_ALL_DRIVERS"
,
ACPI_ALL_DRIVERS
,
ACPI_ALL_DRIVERS
,
(
acpi_dbg_layer
&
ACPI_ALL_DRIVERS
)
==
(
acpi_dbg_layer
&
ACPI_ALL_DRIVERS
)
==
ACPI_ALL_DRIVERS
?
'*'
:
(
acpi_dbg_layer
&
ACPI_ALL_DRIVERS
?
'*'
:
(
acpi_dbg_layer
&
ACPI_ALL_DRIVERS
)
==
ACPI_ALL_DRIVERS
)
==
0
?
' '
:
'-'
);
0
?
' '
:
'-'
);
p
+=
sprintf
(
p
,
seq_printf
(
m
,
"--
\n
debug_layer = 0x%08X (* = enabled, - = partial)
\n
"
,
"--
\n
debug_layer = 0x%08X (* = enabled, - = partial)
\n
"
,
acpi_dbg_layer
);
acpi_dbg_layer
);
break
;
break
;
case
1
:
case
1
:
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
acpi_debug_levels
);
i
++
)
{
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
acpi_debug_levels
);
i
++
)
{
p
+=
sprintf
(
p
,
"%-25s
\t
0x%08lX [%c]
\n
"
,
seq_printf
(
m
,
"%-25s
\t
0x%08lX [%c]
\n
"
,
acpi_debug_levels
[
i
].
name
,
acpi_debug_levels
[
i
].
name
,
acpi_debug_levels
[
i
].
value
,
acpi_debug_levels
[
i
].
value
,
(
acpi_dbg_level
&
acpi_debug_levels
[
i
].
(
acpi_dbg_level
&
acpi_debug_levels
[
i
].
value
)
?
'*'
:
' '
);
value
)
?
'*'
:
' '
);
}
}
p
+=
sprintf
(
p
,
"--
\n
debug_level = 0x%08X (* = enabled)
\n
"
,
seq_printf
(
m
,
"--
\n
debug_level = 0x%08X (* = enabled)
\n
"
,
acpi_dbg_level
);
acpi_dbg_level
);
break
;
break
;
default:
p
+=
sprintf
(
p
,
"Invalid debug option
\n
"
);
break
;
}
}
return
0
;
}
end:
static
int
acpi_system_debug_proc_open
(
struct
inode
*
inode
,
struct
file
*
file
)
size
=
(
p
-
page
);
{
if
(
size
<=
off
+
count
)
return
single_open
(
file
,
acpi_system_debug_proc_show
,
PDE
(
inode
)
->
data
);
*
eof
=
1
;
*
start
=
page
+
off
;
size
-=
off
;
if
(
size
>
count
)
size
=
count
;
if
(
size
<
0
)
size
=
0
;
return
size
;
}
}
static
int
static
ssize_t
acpi_system_debug_proc_write
(
struct
file
*
file
,
acpi_system_write_debug
(
struct
file
*
file
,
const
char
__user
*
buffer
,
const
char
__user
*
buffer
,
unsigned
long
count
,
void
*
data
)
size_t
count
,
loff_t
*
pos
)
{
{
char
debug_string
[
12
]
=
{
'\0'
};
char
debug_string
[
12
]
=
{
'\0'
};
...
@@ -279,7 +262,7 @@ acpi_system_write_debug(struct file *file,
...
@@ -279,7 +262,7 @@ acpi_system_write_debug(struct file *file,
debug_string
[
count
]
=
'\0'
;
debug_string
[
count
]
=
'\0'
;
switch
((
unsigned
long
)
data
)
{
switch
((
unsigned
long
)
PDE
(
file
->
f_path
.
dentry
->
d_inode
)
->
data
)
{
case
0
:
case
0
:
acpi_dbg_layer
=
simple_strtoul
(
debug_string
,
NULL
,
0
);
acpi_dbg_layer
=
simple_strtoul
(
debug_string
,
NULL
,
0
);
break
;
break
;
...
@@ -292,6 +275,15 @@ acpi_system_write_debug(struct file *file,
...
@@ -292,6 +275,15 @@ acpi_system_write_debug(struct file *file,
return
count
;
return
count
;
}
}
static
const
struct
file_operations
acpi_system_debug_proc_fops
=
{
.
owner
=
THIS_MODULE
,
.
open
=
acpi_system_debug_proc_open
,
.
read
=
seq_read
,
.
llseek
=
seq_lseek
,
.
release
=
single_release
,
.
write
=
acpi_system_debug_proc_write
,
};
#endif
#endif
int
__init
acpi_debug_init
(
void
)
int
__init
acpi_debug_init
(
void
)
...
@@ -303,24 +295,18 @@ int __init acpi_debug_init(void)
...
@@ -303,24 +295,18 @@ int __init acpi_debug_init(void)
/* 'debug_layer' [R/W] */
/* 'debug_layer' [R/W] */
name
=
ACPI_SYSTEM_FILE_DEBUG_LAYER
;
name
=
ACPI_SYSTEM_FILE_DEBUG_LAYER
;
entry
=
entry
=
proc_create_data
(
name
,
S_IFREG
|
S_IRUGO
|
S_IWUSR
,
create_proc_read_entry
(
name
,
S_IFREG
|
S_IRUGO
|
S_IWUSR
,
acpi_root_dir
,
&
acpi_system_debug_proc_fops
,
acpi_root_dir
,
acpi_system_read_debug
,
(
void
*
)
0
);
(
void
*
)
0
);
if
(
entry
)
if
(
!
entry
)
entry
->
write_proc
=
acpi_system_write_debug
;
else
goto
Error
;
goto
Error
;
/* 'debug_level' [R/W] */
/* 'debug_level' [R/W] */
name
=
ACPI_SYSTEM_FILE_DEBUG_LEVEL
;
name
=
ACPI_SYSTEM_FILE_DEBUG_LEVEL
;
entry
=
entry
=
proc_create_data
(
name
,
S_IFREG
|
S_IRUGO
|
S_IWUSR
,
create_proc_read_entry
(
name
,
S_IFREG
|
S_IRUGO
|
S_IWUSR
,
acpi_root_dir
,
&
acpi_system_debug_proc_fops
,
acpi_root_dir
,
acpi_system_read_debug
,
(
void
*
)
1
);
(
void
*
)
1
);
if
(
entry
)
if
(
!
entry
)
entry
->
write_proc
=
acpi_system_write_debug
;
else
goto
Error
;
goto
Error
;
Done:
Done:
...
...
drivers/acpi/ec.c
浏览文件 @
d26f0528
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
#include <asm/io.h>
#include <asm/io.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include <acpi/acpi_drivers.h>
#include <linux/dmi.h>
#define ACPI_EC_CLASS "embedded_controller"
#define ACPI_EC_CLASS "embedded_controller"
#define ACPI_EC_DEVICE_NAME "Embedded Controller"
#define ACPI_EC_DEVICE_NAME "Embedded Controller"
...
...
drivers/acpi/pci_slot.c
浏览文件 @
d26f0528
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include <linux/acpi.h>
#include <linux/acpi.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include <acpi/acpi_drivers.h>
#include <linux/dmi.h>
static
int
debug
;
static
int
debug
;
static
int
check_sta_before_sun
;
static
int
check_sta_before_sun
;
...
...
drivers/acpi/video.c
浏览文件 @
d26f0528
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
#include <linux/pci.h>
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/pci_ids.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <linux/dmi.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
#include <acpi/acpi_drivers.h>
...
...
drivers/pci/dmar.c
浏览文件 @
d26f0528
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include <linux/irq.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <linux/interrupt.h>
#include <linux/tboot.h>
#include <linux/tboot.h>
#include <linux/dmi.h>
#define PREFIX "DMAR: "
#define PREFIX "DMAR: "
...
...
drivers/platform/x86/hp-wmi.c
浏览文件 @
d26f0528
...
@@ -507,7 +507,7 @@ static int __exit hp_wmi_bios_remove(struct platform_device *device)
...
@@ -507,7 +507,7 @@ static int __exit hp_wmi_bios_remove(struct platform_device *device)
}
}
if
(
bluetooth_rfkill
)
{
if
(
bluetooth_rfkill
)
{
rfkill_unregister
(
bluetooth_rfkill
);
rfkill_unregister
(
bluetooth_rfkill
);
rfkill_destroy
(
wifi
_rfkill
);
rfkill_destroy
(
bluetooth
_rfkill
);
}
}
if
(
wwan_rfkill
)
{
if
(
wwan_rfkill
)
{
rfkill_unregister
(
wwan_rfkill
);
rfkill_unregister
(
wwan_rfkill
);
...
...
drivers/thermal/Kconfig
浏览文件 @
d26f0528
...
@@ -15,6 +15,7 @@ menuconfig THERMAL
...
@@ -15,6 +15,7 @@ menuconfig THERMAL
config THERMAL_HWMON
config THERMAL_HWMON
bool "Hardware monitoring support"
bool "Hardware monitoring support"
depends on THERMAL
depends on HWMON=y || HWMON=THERMAL
depends on HWMON=y || HWMON=THERMAL
help
help
The generic thermal sysfs driver's hardware monitoring support
The generic thermal sysfs driver's hardware monitoring support
...
...
include/linux/acpi.h
浏览文件 @
d26f0528
...
@@ -41,8 +41,6 @@
...
@@ -41,8 +41,6 @@
#include <acpi/acpi_drivers.h>
#include <acpi/acpi_drivers.h>
#include <acpi/acpi_numa.h>
#include <acpi/acpi_numa.h>
#include <asm/acpi.h>
#include <asm/acpi.h>
#include <linux/dmi.h>
enum
acpi_irq_model_id
{
enum
acpi_irq_model_id
{
ACPI_IRQ_MODEL_PIC
=
0
,
ACPI_IRQ_MODEL_PIC
=
0
,
...
@@ -219,10 +217,8 @@ static inline int acpi_video_display_switch_support(void)
...
@@ -219,10 +217,8 @@ static inline int acpi_video_display_switch_support(void)
#endif
/* defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE) */
#endif
/* defined(CONFIG_ACPI_VIDEO) || defined(CONFIG_ACPI_VIDEO_MODULE) */
extern
int
acpi_blacklisted
(
void
);
extern
int
acpi_blacklisted
(
void
);
#ifdef CONFIG_DMI
extern
void
acpi_dmi_osi_linux
(
int
enable
,
const
struct
dmi_system_id
*
d
);
extern
void
acpi_dmi_osi_linux
(
int
enable
,
const
struct
dmi_system_id
*
d
);
extern
int
acpi_osi_setup
(
char
*
str
);
extern
int
acpi_osi_setup
(
char
*
str
);
#endif
#ifdef CONFIG_ACPI_NUMA
#ifdef CONFIG_ACPI_NUMA
int
acpi_get_pxm
(
acpi_handle
handle
);
int
acpi_get_pxm
(
acpi_handle
handle
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录