Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
b4b613fd
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,发现更多精彩内容 >>
提交
b4b613fd
编写于
7月 22, 2007
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
差异文件
Pull osi into release branch
上级
5e16e3f0
3c6394c5
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
9 addition
and
48 deletion
+9
-48
drivers/acpi/osl.c
drivers/acpi/osl.c
+2
-38
drivers/acpi/utilities/uteval.c
drivers/acpi/utilities/uteval.c
+7
-10
未找到文件。
drivers/acpi/osl.c
浏览文件 @
b4b613fd
...
...
@@ -77,13 +77,7 @@ static struct workqueue_struct *kacpi_notify_wq;
#define OSI_STRING_LENGTH_MAX 64
/* arbitrary */
static
char
osi_additional_string
[
OSI_STRING_LENGTH_MAX
];
#define OSI_LINUX_ENABLED
#ifdef OSI_LINUX_ENABLED
int
osi_linux
=
1
;
/* enable _OSI(Linux) by default */
#else
int
osi_linux
;
/* disable _OSI(Linux) by default */
#endif
static
int
osi_linux
;
/* disable _OSI(Linux) by default */
#ifdef CONFIG_DMI
static
struct
__initdata
dmi_system_id
acpi_osl_dmi_table
[];
...
...
@@ -1183,17 +1177,10 @@ acpi_os_validate_interface (char *interface)
if
(
!
strcmp
(
"Linux"
,
interface
))
{
printk
(
KERN_WARNING
PREFIX
"System BIOS is requesting _OSI(Linux)
\n
"
);
#ifdef OSI_LINUX_ENABLED
printk
(
KERN_WARNING
PREFIX
"Please test with
\"
acpi_osi=!Linux
\"\n
"
"Please send dmidecode "
"to linux-acpi@vger.kernel.org
\n
"
);
#else
printk
(
KERN_WARNING
PREFIX
"If
\"
acpi_osi=Linux
\"
works better,
\n
"
"Please send dmidecode "
"to linux-acpi@vger.kernel.org
\n
"
);
#endif
if
(
osi_linux
)
return
AE_OK
;
}
...
...
@@ -1227,36 +1214,14 @@ acpi_os_validate_address (
}
#ifdef CONFIG_DMI
#ifdef OSI_LINUX_ENABLED
static
int
dmi_osi_not_linux
(
struct
dmi_system_id
*
d
)
{
printk
(
KERN_NOTICE
"%s detected: requires not _OSI(Linux)
\n
"
,
d
->
ident
);
enable_osi_linux
(
0
);
return
0
;
}
#else
static
int
dmi_osi_linux
(
struct
dmi_system_id
*
d
)
{
printk
(
KERN_NOTICE
"%s detected:
requires
_OSI(Linux)
\n
"
,
d
->
ident
);
printk
(
KERN_NOTICE
"%s detected:
enabling
_OSI(Linux)
\n
"
,
d
->
ident
);
enable_osi_linux
(
1
);
return
0
;
}
#endif
static
struct
dmi_system_id
acpi_osl_dmi_table
[]
__initdata
=
{
#ifdef OSI_LINUX_ENABLED
/*
* Boxes that need NOT _OSI(Linux)
*/
{
.
callback
=
dmi_osi_not_linux
,
.
ident
=
"Toshiba Satellite P100"
,
.
matches
=
{
DMI_MATCH
(
DMI_BOARD_VENDOR
,
"TOSHIBA"
),
DMI_MATCH
(
DMI_BOARD_NAME
,
"Satellite P100"
),
},
},
#else
/*
* Boxes that need _OSI(Linux)
*/
...
...
@@ -1268,7 +1233,6 @@ static struct dmi_system_id acpi_osl_dmi_table[] __initdata = {
DMI_MATCH
(
DMI_BOARD_NAME
,
"MPAD-MSAE Customer Reference Boards"
),
},
},
#endif
{}
};
#endif
/* CONFIG_DMI */
...
...
drivers/acpi/utilities/uteval.c
浏览文件 @
b4b613fd
...
...
@@ -62,16 +62,13 @@ acpi_ut_translate_one_cid(union acpi_operand_object *obj_desc,
static
char
*
acpi_interfaces_supported
[]
=
{
/* Operating System Vendor Strings */
"Windows 2000"
,
"Windows 2001"
,
"Windows 2001 SP0"
,
"Windows 2001 SP1"
,
"Windows 2001 SP2"
,
"Windows 2001 SP3"
,
"Windows 2001 SP4"
,
"Windows 2001.1"
,
"Windows 2001.1 SP1"
,
/* Added 03/2006 */
"Windows 2006"
,
/* Added 03/2006 */
"Windows 2000"
,
/* Windows 2000 */
"Windows 2001"
,
/* Windows XP */
"Windows 2001 SP1"
,
/* Windows XP SP1 */
"Windows 2001 SP2"
,
/* Windows XP SP2 */
"Windows 2001.1"
,
/* Windows Server 2003 */
"Windows 2001.1 SP1"
,
/* Windows Server 2003 SP1 - Added 03/2006 */
"Windows 2006"
,
/* Windows Vista - Added 03/2006 */
/* Feature Group Strings */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录