Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
76f58584
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 3 年多
通知
13
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看板
提交
76f58584
编写于
8月 24, 2005
作者:
L
Len Brown
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[ACPI] delete CONFIG_ACPI_BUS
it is a synonym for CONFIG_ACPI Signed-off-by:
N
Len Brown
<
len.brown@intel.com
>
上级
8466361a
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
15 addition
and
40 deletion
+15
-40
arch/i386/defconfig
arch/i386/defconfig
+0
-1
arch/i386/kernel/acpi/boot.c
arch/i386/kernel/acpi/boot.c
+0
-6
arch/i386/kernel/mpparse.c
arch/i386/kernel/mpparse.c
+0
-4
arch/ia64/configs/bigsur_defconfig
arch/ia64/configs/bigsur_defconfig
+0
-1
arch/ia64/configs/sn2_defconfig
arch/ia64/configs/sn2_defconfig
+0
-1
arch/ia64/configs/tiger_defconfig
arch/ia64/configs/tiger_defconfig
+0
-1
arch/ia64/configs/zx1_defconfig
arch/ia64/configs/zx1_defconfig
+0
-1
arch/ia64/defconfig
arch/ia64/defconfig
+0
-1
arch/x86_64/defconfig
arch/x86_64/defconfig
+0
-1
arch/x86_64/kernel/genapic.c
arch/x86_64/kernel/genapic.c
+2
-2
arch/x86_64/kernel/mpparse.c
arch/x86_64/kernel/mpparse.c
+0
-4
drivers/acpi/Kconfig
drivers/acpi/Kconfig
+0
-4
drivers/acpi/Makefile
drivers/acpi/Makefile
+3
-3
drivers/char/tpm/Kconfig
drivers/char/tpm/Kconfig
+1
-1
drivers/pci/hotplug/Kconfig
drivers/pci/hotplug/Kconfig
+2
-2
drivers/pci/hotplug/Makefile
drivers/pci/hotplug/Makefile
+2
-2
drivers/pnp/Kconfig
drivers/pnp/Kconfig
+1
-1
drivers/pnp/pnpacpi/Kconfig
drivers/pnp/pnpacpi/Kconfig
+1
-1
drivers/serial/Kconfig
drivers/serial/Kconfig
+1
-1
include/acpi/acpi_bus.h
include/acpi/acpi_bus.h
+2
-2
未找到文件。
arch/i386/defconfig
浏览文件 @
76f58584
...
...
@@ -142,7 +142,6 @@ CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
...
...
arch/i386/kernel/acpi/boot.c
浏览文件 @
76f58584
...
...
@@ -408,8 +408,6 @@ acpi_parse_nmi_src(acpi_table_entry_header * header, const unsigned long end)
#endif
/* CONFIG_X86_IO_APIC */
#ifdef CONFIG_ACPI_BUS
/*
* acpi_pic_sci_set_trigger()
*
...
...
@@ -460,8 +458,6 @@ void __init acpi_pic_sci_set_trigger(unsigned int irq, u16 trigger)
outb
(
new
>>
8
,
0x4d1
);
}
#endif
/* CONFIG_ACPI_BUS */
int
acpi_gsi_to_irq
(
u32
gsi
,
unsigned
int
*
irq
)
{
#ifdef CONFIG_X86_IO_APIC
...
...
@@ -637,12 +633,10 @@ static int __init acpi_parse_fadt(unsigned long phys, unsigned long size)
/* initialize sci_int early for INT_SRC_OVR MADT parsing */
acpi_fadt
.
sci_int
=
fadt
->
sci_int
;
#ifdef CONFIG_ACPI_BUS
/* initialize rev and apic_phys_dest_mode for x86_64 genapic */
acpi_fadt
.
revision
=
fadt
->
revision
;
acpi_fadt
.
force_apic_physical_destination_mode
=
fadt
->
force_apic_physical_destination_mode
;
#endif
#ifdef CONFIG_X86_PM_TIMER
/* detect the location of the ACPI PM Timer */
...
...
arch/i386/kernel/mpparse.c
浏览文件 @
76f58584
...
...
@@ -1069,11 +1069,9 @@ int mp_register_gsi (u32 gsi, int edge_level, int active_high_low)
*/
static
int
gsi_to_irq
[
MAX_GSI_NUM
];
#ifdef CONFIG_ACPI_BUS
/* Don't set up the ACPI SCI because it's already set up */
if
(
acpi_fadt
.
sci_int
==
gsi
)
return
gsi
;
#endif
ioapic
=
mp_find_ioapic
(
gsi
);
if
(
ioapic
<
0
)
{
...
...
@@ -1116,13 +1114,11 @@ int mp_register_gsi (u32 gsi, int edge_level, int active_high_low)
if
(
gsi
<
MAX_GSI_NUM
)
{
if
(
gsi
>
15
)
gsi
=
pci_irq
++
;
#ifdef CONFIG_ACPI_BUS
/*
* Don't assign IRQ used by ACPI SCI
*/
if
(
gsi
==
acpi_fadt
.
sci_int
)
gsi
=
pci_irq
++
;
#endif
gsi_to_irq
[
irq
]
=
gsi
;
}
else
{
printk
(
KERN_ERR
"GSI %u is too high
\n
"
,
gsi
);
...
...
arch/ia64/configs/bigsur_defconfig
浏览文件 @
76f58584
...
...
@@ -114,7 +114,6 @@ CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
...
...
arch/ia64/configs/sn2_defconfig
浏览文件 @
76f58584
...
...
@@ -138,7 +138,6 @@ CONFIG_ACPI_HOTKEY=m
CONFIG_ACPI_NUMA=y
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
...
...
arch/ia64/configs/tiger_defconfig
浏览文件 @
76f58584
...
...
@@ -137,7 +137,6 @@ CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
...
...
arch/ia64/configs/zx1_defconfig
浏览文件 @
76f58584
...
...
@@ -136,7 +136,6 @@ CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
...
...
arch/ia64/defconfig
浏览文件 @
76f58584
...
...
@@ -127,7 +127,6 @@ CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_NUMA=y
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
...
...
arch/x86_64/defconfig
浏览文件 @
76f58584
...
...
@@ -149,7 +149,6 @@ CONFIG_ACPI_NUMA=y
CONFIG_ACPI_TOSHIBA=y
CONFIG_ACPI_BLACKLIST_YEAR=2001
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
...
...
arch/x86_64/kernel/genapic.c
浏览文件 @
76f58584
...
...
@@ -20,7 +20,7 @@
#include <asm/smp.h>
#include <asm/ipi.h>
#if defined(CONFIG_ACPI
_BUS
)
#if defined(CONFIG_ACPI)
#include <acpi/acpi_bus.h>
#endif
...
...
@@ -47,7 +47,7 @@ void __init clustered_apic_check(void)
u8
cluster_cnt
[
NUM_APIC_CLUSTERS
];
int
num_cpus
=
0
;
#if defined(CONFIG_ACPI
_BUS
)
#if defined(CONFIG_ACPI)
/*
* Some x86_64 machines use physical APIC mode regardless of how many
* procs/clusters are present (x86_64 ES7000 is an example).
...
...
arch/x86_64/kernel/mpparse.c
浏览文件 @
76f58584
...
...
@@ -927,11 +927,9 @@ int mp_register_gsi(u32 gsi, int edge_level, int active_high_low)
if
(
acpi_irq_model
!=
ACPI_IRQ_MODEL_IOAPIC
)
return
gsi
;
#ifdef CONFIG_ACPI_BUS
/* Don't set up the ACPI SCI because it's already set up */
if
(
acpi_fadt
.
sci_int
==
gsi
)
return
gsi
;
#endif
ioapic
=
mp_find_ioapic
(
gsi
);
if
(
ioapic
<
0
)
{
...
...
@@ -971,13 +969,11 @@ int mp_register_gsi(u32 gsi, int edge_level, int active_high_low)
if
(
gsi
<
MAX_GSI_NUM
)
{
if
(
gsi
>
15
)
gsi
=
pci_irq
++
;
#ifdef CONFIG_ACPI_BUS
/*
* Don't assign IRQ used by ACPI SCI
*/
if
(
gsi
==
acpi_fadt
.
sci_int
)
gsi
=
pci_irq
++
;
#endif
gsi_to_irq
[
irq
]
=
gsi
;
}
else
{
printk
(
KERN_ERR
"GSI %u is too high
\n
"
,
gsi
);
...
...
drivers/acpi/Kconfig
浏览文件 @
76f58584
...
...
@@ -267,10 +267,6 @@ config ACPI_DEBUG
of verbosity. Saying Y enables these statements. This will increase
your kernel size by around 50K.
config ACPI_BUS
bool
default y
config ACPI_EC
bool
depends on X86
...
...
drivers/acpi/Makefile
浏览文件 @
76f58584
...
...
@@ -35,8 +35,8 @@ ifdef CONFIG_CPU_FREQ
processor-objs
+=
processor_perflib.o
endif
obj-
$(CONFIG_ACPI_BUS)
+=
sleep
/
obj-
$(CONFIG_ACPI_BUS)
+=
bus.o glue.o
obj-
y
+=
sleep
/
obj-
y
+=
bus.o glue.o
obj-$(CONFIG_ACPI_AC)
+=
ac.o
obj-$(CONFIG_ACPI_BATTERY)
+=
battery.o
obj-$(CONFIG_ACPI_BUTTON)
+=
button.o
...
...
@@ -55,5 +55,5 @@ obj-$(CONFIG_ACPI_NUMA) += numa.o
obj-$(CONFIG_ACPI_ASUS)
+=
asus_acpi.o
obj-$(CONFIG_ACPI_IBM)
+=
ibm_acpi.o
obj-$(CONFIG_ACPI_TOSHIBA)
+=
toshiba_acpi.o
obj-
$(CONFIG_ACPI_BUS)
+=
scan.o motherboard.o
obj-
y
+=
scan.o motherboard.o
obj-$(CONFIG_ACPI_HOTPLUG_MEMORY)
+=
acpi_memhotplug.o
drivers/char/tpm/Kconfig
浏览文件 @
76f58584
...
...
@@ -17,7 +17,7 @@ config TCG_TPM
obtained at: <http://sourceforge.net/projects/trousers>. To
compile this driver as a module, choose M here; the module
will be called tpm. If unsure, say N.
Note: For more TPM drivers enable CONFIG_PNP, CONFIG_ACPI
_BUS
Note: For more TPM drivers enable CONFIG_PNP, CONFIG_ACPI
and CONFIG_PNPACPI.
config TCG_NSC
...
...
drivers/pci/hotplug/Kconfig
浏览文件 @
76f58584
...
...
@@ -78,7 +78,7 @@ config HOTPLUG_PCI_IBM
config HOTPLUG_PCI_ACPI
tristate "ACPI PCI Hotplug driver"
depends on ACPI
_BUS
&& HOTPLUG_PCI
depends on ACPI && HOTPLUG_PCI
help
Say Y here if you have a system that supports PCI Hotplug using
ACPI.
...
...
@@ -157,7 +157,7 @@ config HOTPLUG_PCI_SHPC_POLL_EVENT_MODE
config HOTPLUG_PCI_SHPC_PHPRM_LEGACY
bool "For AMD SHPC only: Use $HRT for resource/configuration"
depends on HOTPLUG_PCI_SHPC && !ACPI
_BUS
depends on HOTPLUG_PCI_SHPC && !ACPI
help
Say Y here for AMD SHPC. You have to select this option if you are
using this driver on platform with AMD SHPC.
...
...
drivers/pci/hotplug/Makefile
浏览文件 @
76f58584
...
...
@@ -51,7 +51,7 @@ pciehp-objs := pciehp_core.o \
pciehp_ctrl.o
\
pciehp_pci.o
\
pciehp_hpc.o
ifdef
CONFIG_ACPI
_BUS
ifdef
CONFIG_ACPI
pciehp-objs
+=
pciehprm_acpi.o
else
pciehp-objs
+=
pciehprm_nonacpi.o
...
...
@@ -62,7 +62,7 @@ shpchp-objs := shpchp_core.o \
shpchp_pci.o
\
shpchp_sysfs.o
\
shpchp_hpc.o
ifdef
CONFIG_ACPI
_BUS
ifdef
CONFIG_ACPI
shpchp-objs
+=
shpchprm_acpi.o
else
ifdef
CONFIG_HOTPLUG_PCI_SHPC_PHPRM_LEGACY
...
...
drivers/pnp/Kconfig
浏览文件 @
76f58584
...
...
@@ -6,7 +6,7 @@ menu "Plug and Play support"
config PNP
bool "Plug and Play support"
depends on ISA || ACPI
_BUS
depends on ISA || ACPI
---help---
Plug and Play (PnP) is a standard for peripherals which allows those
peripherals to be configured by software, e.g. assign IRQ's or other
...
...
drivers/pnp/pnpacpi/Kconfig
浏览文件 @
76f58584
...
...
@@ -3,7 +3,7 @@
#
config PNPACPI
bool "Plug and Play ACPI support (EXPERIMENTAL)"
depends on PNP && ACPI
_BUS
&& EXPERIMENTAL
depends on PNP && ACPI && EXPERIMENTAL
default y
---help---
Linux uses the PNPACPI to autodetect built-in
...
...
drivers/serial/Kconfig
浏览文件 @
76f58584
...
...
@@ -80,7 +80,7 @@ config SERIAL_8250_CS
config SERIAL_8250_ACPI
bool "8250/16550 device discovery via ACPI namespace"
default y if IA64
depends on ACPI
_BUS
&& SERIAL_8250
depends on ACPI && SERIAL_8250
---help---
If you wish to enable serial port discovery via the ACPI
namespace, say Y here. If unsure, say N.
...
...
include/acpi/acpi_bus.h
浏览文件 @
76f58584
...
...
@@ -53,7 +53,7 @@ acpi_evaluate_reference(acpi_handle handle,
struct
acpi_object_list
*
arguments
,
struct
acpi_handle_list
*
list
);
#ifdef CONFIG_ACPI
_BUS
#ifdef CONFIG_ACPI
#include <linux/proc_fs.h>
...
...
@@ -356,6 +356,6 @@ acpi_handle acpi_get_child(acpi_handle, acpi_integer);
acpi_handle
acpi_get_pci_rootbridge_handle
(
unsigned
int
,
unsigned
int
);
#define DEVICE_ACPI_HANDLE(dev) ((acpi_handle)((dev)->firmware_data))
#endif
/*CONFIG_ACPI_BUS
*/
#endif
/* CONFIG_ACPI
*/
#endif
/*__ACPI_BUS_H__*/
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录