aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-08-25 12:27:09 -0400
committerLen Brown <len.brown@intel.com>2005-08-25 12:40:44 -0400
commit6153df7b2f4d27c8bde054db1b947369a6f64d83 (patch)
tree2e30598ad48d05d0ea956b6097e0943a178d6299 /arch
parent07fefe4ca93b3e45b2bea32871a4496067888852 (diff)
[ACPI] delete CONFIG_ACPI_PCI
Delete the ability to build an ACPI kernel that does not include PCI support. When such a machine is created and it requires a tuned kernel, send a patch. http://bugzilla.kernel.org/show_bug.cgi?id=1364 Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/defconfig1
-rw-r--r--arch/i386/kernel/acpi/boot.c9
-rw-r--r--arch/i386/pci/Makefile2
-rw-r--r--arch/i386/pci/irq.c2
-rw-r--r--arch/ia64/configs/bigsur_defconfig1
-rw-r--r--arch/ia64/configs/sn2_defconfig1
-rw-r--r--arch/ia64/configs/tiger_defconfig1
-rw-r--r--arch/ia64/configs/zx1_defconfig1
-rw-r--r--arch/ia64/defconfig1
-rw-r--r--arch/x86_64/defconfig1
-rw-r--r--arch/x86_64/pci/Makefile2
-rw-r--r--arch/x86_64/pci/Makefile-BUS2
12 files changed, 4 insertions, 20 deletions
diff --git a/arch/i386/defconfig b/arch/i386/defconfig
index 1a387856c870..6a431b926019 100644
--- a/arch/i386/defconfig
+++ b/arch/i386/defconfig
@@ -144,7 +144,6 @@ CONFIG_ACPI_THERMAL=y
144# CONFIG_ACPI_DEBUG is not set 144# CONFIG_ACPI_DEBUG is not set
145CONFIG_ACPI_EC=y 145CONFIG_ACPI_EC=y
146CONFIG_ACPI_POWER=y 146CONFIG_ACPI_POWER=y
147CONFIG_ACPI_PCI=y
148CONFIG_ACPI_SYSTEM=y 147CONFIG_ACPI_SYSTEM=y
149# CONFIG_X86_PM_TIMER is not set 148# CONFIG_X86_PM_TIMER is not set
150 149
diff --git a/arch/i386/kernel/acpi/boot.c b/arch/i386/kernel/acpi/boot.c
index 552fc85691ac..0fb23c30eb98 100644
--- a/arch/i386/kernel/acpi/boot.c
+++ b/arch/i386/kernel/acpi/boot.c
@@ -66,13 +66,8 @@ static inline int ioapic_setup_disabled(void)
66 66
67#define PREFIX "ACPI: " 67#define PREFIX "ACPI: "
68 68
69#ifdef CONFIG_ACPI_PCI
70int acpi_noirq __initdata; /* skip ACPI IRQ initialization */ 69int acpi_noirq __initdata; /* skip ACPI IRQ initialization */
71int acpi_pci_disabled __initdata; /* skip ACPI PCI scan and IRQ initialization */ 70int acpi_pci_disabled __initdata; /* skip ACPI PCI scan and IRQ initialization */
72#else
73int acpi_noirq __initdata = 1;
74int acpi_pci_disabled __initdata = 1;
75#endif
76int acpi_ht __initdata = 1; /* enable HT */ 71int acpi_ht __initdata = 1; /* enable HT */
77 72
78int acpi_lapic; 73int acpi_lapic;
@@ -849,7 +844,6 @@ extern int acpi_force;
849 844
850#ifdef __i386__ 845#ifdef __i386__
851 846
852#ifdef CONFIG_ACPI_PCI
853static int __init disable_acpi_irq(struct dmi_system_id *d) 847static int __init disable_acpi_irq(struct dmi_system_id *d)
854{ 848{
855 if (!acpi_force) { 849 if (!acpi_force) {
@@ -869,7 +863,6 @@ static int __init disable_acpi_pci(struct dmi_system_id *d)
869 } 863 }
870 return 0; 864 return 0;
871} 865}
872#endif
873 866
874static int __init dmi_disable_acpi(struct dmi_system_id *d) 867static int __init dmi_disable_acpi(struct dmi_system_id *d)
875{ 868{
@@ -1017,7 +1010,6 @@ static struct dmi_system_id __initdata acpi_dmi_table[] = {
1017 }, 1010 },
1018 }, 1011 },
1019 1012
1020#ifdef CONFIG_ACPI_PCI
1021 /* 1013 /*
1022 * Boxes that need ACPI PCI IRQ routing disabled 1014 * Boxes that need ACPI PCI IRQ routing disabled
1023 */ 1015 */
@@ -1055,7 +1047,6 @@ static struct dmi_system_id __initdata acpi_dmi_table[] = {
1055 DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 360"), 1047 DMI_MATCH(DMI_PRODUCT_NAME, "TravelMate 360"),
1056 }, 1048 },
1057 }, 1049 },
1058#endif
1059 {} 1050 {}
1060}; 1051};
1061 1052
diff --git a/arch/i386/pci/Makefile b/arch/i386/pci/Makefile
index 1bff03f36965..ead6122dd06d 100644
--- a/arch/i386/pci/Makefile
+++ b/arch/i386/pci/Makefile
@@ -5,7 +5,7 @@ obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o
5obj-$(CONFIG_PCI_DIRECT) += direct.o 5obj-$(CONFIG_PCI_DIRECT) += direct.o
6 6
7pci-y := fixup.o 7pci-y := fixup.o
8pci-$(CONFIG_ACPI_PCI) += acpi.o 8pci-$(CONFIG_ACPI) += acpi.o
9pci-y += legacy.o irq.o 9pci-y += legacy.o irq.o
10 10
11pci-$(CONFIG_X86_VISWS) := visws.o fixup.o 11pci-$(CONFIG_X86_VISWS) := visws.o fixup.o
diff --git a/arch/i386/pci/irq.c b/arch/i386/pci/irq.c
index 86348b68fda1..326a2edc3834 100644
--- a/arch/i386/pci/irq.c
+++ b/arch/i386/pci/irq.c
@@ -1075,7 +1075,7 @@ static void pirq_penalize_isa_irq(int irq, int active)
1075 1075
1076void pcibios_penalize_isa_irq(int irq, int active) 1076void pcibios_penalize_isa_irq(int irq, int active)
1077{ 1077{
1078#ifdef CONFIG_ACPI_PCI 1078#ifdef CONFIG_ACPI
1079 if (!acpi_noirq) 1079 if (!acpi_noirq)
1080 acpi_penalize_isa_irq(irq, active); 1080 acpi_penalize_isa_irq(irq, active);
1081 else 1081 else
diff --git a/arch/ia64/configs/bigsur_defconfig b/arch/ia64/configs/bigsur_defconfig
index 71dcfe0e3f73..3b65cbb31b1d 100644
--- a/arch/ia64/configs/bigsur_defconfig
+++ b/arch/ia64/configs/bigsur_defconfig
@@ -113,7 +113,6 @@ CONFIG_ACPI_PROCESSOR=m
113CONFIG_ACPI_THERMAL=m 113CONFIG_ACPI_THERMAL=m
114# CONFIG_ACPI_DEBUG is not set 114# CONFIG_ACPI_DEBUG is not set
115CONFIG_ACPI_POWER=y 115CONFIG_ACPI_POWER=y
116CONFIG_ACPI_PCI=y
117CONFIG_ACPI_SYSTEM=y 116CONFIG_ACPI_SYSTEM=y
118 117
119# 118#
diff --git a/arch/ia64/configs/sn2_defconfig b/arch/ia64/configs/sn2_defconfig
index ac17ed2ff979..1ca6e6e11b42 100644
--- a/arch/ia64/configs/sn2_defconfig
+++ b/arch/ia64/configs/sn2_defconfig
@@ -136,7 +136,6 @@ CONFIG_ACPI=y
136CONFIG_ACPI_NUMA=y 136CONFIG_ACPI_NUMA=y
137# CONFIG_ACPI_DEBUG is not set 137# CONFIG_ACPI_DEBUG is not set
138CONFIG_ACPI_POWER=y 138CONFIG_ACPI_POWER=y
139CONFIG_ACPI_PCI=y
140CONFIG_ACPI_SYSTEM=y 139CONFIG_ACPI_SYSTEM=y
141# CONFIG_ACPI_CONTAINER is not set 140# CONFIG_ACPI_CONTAINER is not set
142 141
diff --git a/arch/ia64/configs/tiger_defconfig b/arch/ia64/configs/tiger_defconfig
index 3a629414229e..3ec94a12eac0 100644
--- a/arch/ia64/configs/tiger_defconfig
+++ b/arch/ia64/configs/tiger_defconfig
@@ -135,7 +135,6 @@ CONFIG_ACPI_PROCESSOR=m
135CONFIG_ACPI_THERMAL=m 135CONFIG_ACPI_THERMAL=m
136# CONFIG_ACPI_DEBUG is not set 136# CONFIG_ACPI_DEBUG is not set
137CONFIG_ACPI_POWER=y 137CONFIG_ACPI_POWER=y
138CONFIG_ACPI_PCI=y
139CONFIG_ACPI_SYSTEM=y 138CONFIG_ACPI_SYSTEM=y
140# CONFIG_ACPI_CONTAINER is not set 139# CONFIG_ACPI_CONTAINER is not set
141 140
diff --git a/arch/ia64/configs/zx1_defconfig b/arch/ia64/configs/zx1_defconfig
index 84cdf32ede7c..d4cf73d124bc 100644
--- a/arch/ia64/configs/zx1_defconfig
+++ b/arch/ia64/configs/zx1_defconfig
@@ -134,7 +134,6 @@ CONFIG_ACPI_PROCESSOR=y
134CONFIG_ACPI_THERMAL=y 134CONFIG_ACPI_THERMAL=y
135# CONFIG_ACPI_DEBUG is not set 135# CONFIG_ACPI_DEBUG is not set
136CONFIG_ACPI_POWER=y 136CONFIG_ACPI_POWER=y
137CONFIG_ACPI_PCI=y
138CONFIG_ACPI_SYSTEM=y 137CONFIG_ACPI_SYSTEM=y
139# CONFIG_ACPI_CONTAINER is not set 138# CONFIG_ACPI_CONTAINER is not set
140 139
diff --git a/arch/ia64/defconfig b/arch/ia64/defconfig
index 7002d5a3cc14..b6ec8d32c346 100644
--- a/arch/ia64/defconfig
+++ b/arch/ia64/defconfig
@@ -126,7 +126,6 @@ CONFIG_ACPI_THERMAL=m
126CONFIG_ACPI_NUMA=y 126CONFIG_ACPI_NUMA=y
127# CONFIG_ACPI_DEBUG is not set 127# CONFIG_ACPI_DEBUG is not set
128CONFIG_ACPI_POWER=y 128CONFIG_ACPI_POWER=y
129CONFIG_ACPI_PCI=y
130CONFIG_ACPI_SYSTEM=y 129CONFIG_ACPI_SYSTEM=y
131CONFIG_ACPI_CONTAINER=m 130CONFIG_ACPI_CONTAINER=m
132 131
diff --git a/arch/x86_64/defconfig b/arch/x86_64/defconfig
index 62abdc0adab8..b95c6cf26591 100644
--- a/arch/x86_64/defconfig
+++ b/arch/x86_64/defconfig
@@ -151,7 +151,6 @@ CONFIG_ACPI_BLACKLIST_YEAR=2001
151# CONFIG_ACPI_DEBUG is not set 151# CONFIG_ACPI_DEBUG is not set
152CONFIG_ACPI_EC=y 152CONFIG_ACPI_EC=y
153CONFIG_ACPI_POWER=y 153CONFIG_ACPI_POWER=y
154CONFIG_ACPI_PCI=y
155CONFIG_ACPI_SYSTEM=y 154CONFIG_ACPI_SYSTEM=y
156# CONFIG_ACPI_CONTAINER is not set 155# CONFIG_ACPI_CONTAINER is not set
157 156
diff --git a/arch/x86_64/pci/Makefile b/arch/x86_64/pci/Makefile
index 37c92e841dec..bb34e5ef916c 100644
--- a/arch/x86_64/pci/Makefile
+++ b/arch/x86_64/pci/Makefile
@@ -8,7 +8,7 @@ CFLAGS += -Iarch/i386/pci
8obj-y := i386.o 8obj-y := i386.o
9obj-$(CONFIG_PCI_DIRECT)+= direct.o 9obj-$(CONFIG_PCI_DIRECT)+= direct.o
10obj-y += fixup.o 10obj-y += fixup.o
11obj-$(CONFIG_ACPI_PCI) += acpi.o 11obj-$(CONFIG_ACPI) += acpi.o
12obj-y += legacy.o irq.o common.o 12obj-y += legacy.o irq.o common.o
13# mmconfig has a 64bit special 13# mmconfig has a 64bit special
14obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o 14obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o
diff --git a/arch/x86_64/pci/Makefile-BUS b/arch/x86_64/pci/Makefile-BUS
index 291985f0d2e4..4f0c05abd408 100644
--- a/arch/x86_64/pci/Makefile-BUS
+++ b/arch/x86_64/pci/Makefile-BUS
@@ -8,7 +8,7 @@ CFLAGS += -I arch/i386/pci
8obj-y := i386.o 8obj-y := i386.o
9obj-$(CONFIG_PCI_DIRECT)+= direct.o 9obj-$(CONFIG_PCI_DIRECT)+= direct.o
10obj-y += fixup.o 10obj-y += fixup.o
11obj-$(CONFIG_ACPI_PCI) += acpi.o 11obj-$(CONFIG_ACPI) += acpi.o
12obj-y += legacy.o irq.o common.o 12obj-y += legacy.o irq.o common.o
13# mmconfig has a 64bit special 13# mmconfig has a 64bit special
14obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o 14obj-$(CONFIG_PCI_MMCONFIG) += mmconfig.o