Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
6b259707
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
6b259707
编写于
2月 03, 2007
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
差异文件
Pull trivial into test branch
Conflicts: drivers/acpi/scan.c Signed-off-by:
N
Len Brown
<
len.brown@intel.com
>
上级
a4144e45
db503422
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
1 addition
and
45 deletion
+1
-45
drivers/acpi/Kconfig
drivers/acpi/Kconfig
+1
-0
drivers/acpi/scan.c
drivers/acpi/scan.c
+0
-45
未找到文件。
drivers/acpi/Kconfig
浏览文件 @
6b259707
...
...
@@ -3,6 +3,7 @@
#
menu "ACPI (Advanced Configuration and Power Interface) Support"
depends on !X86_NUMAQ
depends on !X86_VISWS
depends on !IA64_HP_SIM
depends on IA64 || X86
...
...
drivers/acpi/scan.c
浏览文件 @
6b259707
...
...
@@ -989,49 +989,6 @@ static int acpi_device_set_context(struct acpi_device *device, int type)
return
result
;
}
static
void
acpi_device_get_debug_info
(
struct
acpi_device
*
device
,
acpi_handle
handle
,
int
type
)
{
#ifdef CONFIG_ACPI_DEBUG_OUTPUT
char
*
type_string
=
NULL
;
char
name
[
80
]
=
{
'?'
,
'\0'
};
struct
acpi_buffer
buffer
=
{
sizeof
(
name
),
name
};
switch
(
type
)
{
case
ACPI_BUS_TYPE_DEVICE
:
type_string
=
"Device"
;
acpi_get_name
(
handle
,
ACPI_FULL_PATHNAME
,
&
buffer
);
break
;
case
ACPI_BUS_TYPE_POWER
:
type_string
=
"Power Resource"
;
acpi_get_name
(
handle
,
ACPI_FULL_PATHNAME
,
&
buffer
);
break
;
case
ACPI_BUS_TYPE_PROCESSOR
:
type_string
=
"Processor"
;
acpi_get_name
(
handle
,
ACPI_FULL_PATHNAME
,
&
buffer
);
break
;
case
ACPI_BUS_TYPE_SYSTEM
:
type_string
=
"System"
;
acpi_get_name
(
handle
,
ACPI_FULL_PATHNAME
,
&
buffer
);
break
;
case
ACPI_BUS_TYPE_THERMAL
:
type_string
=
"Thermal Zone"
;
acpi_get_name
(
handle
,
ACPI_FULL_PATHNAME
,
&
buffer
);
break
;
case
ACPI_BUS_TYPE_POWER_BUTTON
:
type_string
=
"Power Button"
;
sprintf
(
name
,
"PWRB"
);
break
;
case
ACPI_BUS_TYPE_SLEEP_BUTTON
:
type_string
=
"Sleep Button"
;
sprintf
(
name
,
"SLPB"
);
break
;
}
printk
(
KERN_DEBUG
"Found %s %s [%p]
\n
"
,
type_string
,
name
,
handle
);
#endif
/*CONFIG_ACPI_DEBUG_OUTPUT */
}
static
int
acpi_bus_remove
(
struct
acpi_device
*
dev
,
int
rmdevice
)
{
if
(
!
dev
)
...
...
@@ -1161,8 +1118,6 @@ acpi_add_single_object(struct acpi_device **child,
if
((
result
=
acpi_device_set_context
(
device
,
type
)))
goto
end
;
acpi_device_get_debug_info
(
device
,
handle
,
type
);
result
=
acpi_device_register
(
device
,
parent
);
/*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录