Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
1e8df53c
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
1e8df53c
编写于
12月 05, 2005
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ACPI] Embedded Controller (EC) driver printk syntax update
no functional changes Signed-off-by:
N
Len Brown
<
len.brown@intel.com
>
上级
53f11d4f
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
10 deletion
+10
-10
drivers/acpi/ec.c
drivers/acpi/ec.c
+10
-10
未找到文件。
drivers/acpi/ec.c
浏览文件 @
1e8df53c
...
...
@@ -279,7 +279,7 @@ int acpi_ec_enter_burst_mode(union acpi_ec *ec)
atomic_set
(
&
ec
->
intr
.
leaving_burst
,
0
);
return_VALUE
(
0
);
end:
printk
(
"Error in acpi_ec_wait
\n
"
);
printk
(
KERN_WARNING
PREFIX
"Error in acpi_ec_wait
\n
"
);
return_VALUE
(
-
1
);
}
...
...
@@ -300,7 +300,7 @@ int acpi_ec_leave_burst_mode(union acpi_ec *ec)
atomic_set
(
&
ec
->
intr
.
leaving_burst
,
1
);
return_VALUE
(
0
);
end:
printk
(
"leave burst_mode:error
\n
"
);
printk
(
KERN_WARNING
PREFIX
"leave burst_mode:error
\n
"
);
return_VALUE
(
-
1
);
}
#endif
/* ACPI_FUTURE_USAGE */
...
...
@@ -437,20 +437,20 @@ static int acpi_ec_intr_read(union acpi_ec *ec, u8 address, u32 * data)
status
=
acpi_ec_wait
(
ec
,
ACPI_EC_EVENT_IBE
);
if
(
status
)
{
printk
(
"read EC, IB not empty
\n
"
);
printk
(
KERN_DEBUG
PREFIX
"read EC, IB not empty
\n
"
);
goto
end
;
}
acpi_hw_low_level_write
(
8
,
ACPI_EC_COMMAND_READ
,
&
ec
->
common
.
command_addr
);
status
=
acpi_ec_wait
(
ec
,
ACPI_EC_EVENT_IBE
);
if
(
status
)
{
printk
(
"read EC, IB not empty
\n
"
);
printk
(
KERN_DEBUG
PREFIX
"read EC, IB not empty
\n
"
);
}
acpi_hw_low_level_write
(
8
,
address
,
&
ec
->
common
.
data_addr
);
status
=
acpi_ec_wait
(
ec
,
ACPI_EC_EVENT_OBF
);
if
(
status
)
{
printk
(
"read EC, OB not full
\n
"
);
printk
(
KERN_DEBUG
PREFIX
"read EC, OB not full
\n
"
);
goto
end
;
}
acpi_hw_low_level_read
(
8
,
data
,
&
ec
->
common
.
data_addr
);
...
...
@@ -487,19 +487,19 @@ static int acpi_ec_intr_write(union acpi_ec *ec, u8 address, u8 data)
status
=
acpi_ec_wait
(
ec
,
ACPI_EC_EVENT_IBE
);
if
(
status
)
{
printk
(
"write EC, IB not empty
\n
"
);
printk
(
KERN_DEBUG
PREFIX
"write EC, IB not empty
\n
"
);
}
acpi_hw_low_level_write
(
8
,
ACPI_EC_COMMAND_WRITE
,
&
ec
->
common
.
command_addr
);
status
=
acpi_ec_wait
(
ec
,
ACPI_EC_EVENT_IBE
);
if
(
status
)
{
printk
(
"write EC, IB not empty
\n
"
);
printk
(
KERN_DEBUG
PREFIX
"write EC, IB not empty
\n
"
);
}
acpi_hw_low_level_write
(
8
,
address
,
&
ec
->
common
.
data_addr
);
status
=
acpi_ec_wait
(
ec
,
ACPI_EC_EVENT_IBE
);
if
(
status
)
{
printk
(
"write EC, IB not empty
\n
"
);
printk
(
KERN_DEBUG
PREFIX
"write EC, IB not empty
\n
"
);
}
acpi_hw_low_level_write
(
8
,
data
,
&
ec
->
common
.
data_addr
);
...
...
@@ -630,7 +630,7 @@ static int acpi_ec_intr_query(union acpi_ec *ec, u32 * data)
status
=
acpi_ec_wait
(
ec
,
ACPI_EC_EVENT_IBE
);
if
(
status
)
{
printk
(
"query EC, IB not empty
\n
"
);
printk
(
KERN_DEBUG
PREFIX
"query EC, IB not empty
\n
"
);
goto
end
;
}
/*
...
...
@@ -642,7 +642,7 @@ static int acpi_ec_intr_query(union acpi_ec *ec, u32 * data)
&
ec
->
common
.
command_addr
);
status
=
acpi_ec_wait
(
ec
,
ACPI_EC_EVENT_OBF
);
if
(
status
)
{
printk
(
"query EC, OB not full
\n
"
);
printk
(
KERN_DEBUG
PREFIX
"query EC, OB not full
\n
"
);
goto
end
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录