* [2.6 patch] ACPI should depend on, not select PCI
@ 2006-02-16 20:32 Adrian Bunk
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2006-02-16 20:32 UTC (permalink / raw)
To: len.brown; +Cc: linux-acpi, linux-kernel
ACPI should depend on, not select PCI.
Otherwise, illegal configurations like X86_VOYAGER=y, PCI=y are
possible.
This patch also fixes the options select'ing ACPI to also select PCI.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
arch/ia64/Kconfig | 1 +
arch/x86_64/Kconfig | 1 +
drivers/acpi/Kconfig | 3 +--
3 files changed, 3 insertions(+), 2 deletions(-)
--- linux-2.6.16-rc3-mm1-full/drivers/acpi/Kconfig.old 2006-02-16 21:21:23.000000000 +0100
+++ linux-2.6.16-rc3-mm1-full/drivers/acpi/Kconfig 2006-02-16 21:21:42.000000000 +0100
@@ -10,9 +10,8 @@
config ACPI
bool "ACPI Support"
depends on IA64 || X86
+ depends on PCI
select PM
- select PCI
-
default y
---help---
Advanced Configuration and Power Interface (ACPI) support for
--- linux-2.6.16-rc3-mm1-full/arch/ia64/Kconfig.old 2006-02-16 21:21:52.000000000 +0100
+++ linux-2.6.16-rc3-mm1-full/arch/ia64/Kconfig 2006-02-16 21:22:08.000000000 +0100
@@ -73,6 +73,7 @@
config IA64_GENERIC
bool "generic"
select ACPI
+ select PCI
select NUMA
select ACPI_NUMA
help
--- linux-2.6.16-rc3-mm1-full/arch/x86_64/Kconfig.old 2006-02-16 21:22:19.000000000 +0100
+++ linux-2.6.16-rc3-mm1-full/arch/x86_64/Kconfig 2006-02-16 21:23:39.000000000 +0100
@@ -285,6 +285,7 @@
bool "ACPI NUMA detection"
depends on NUMA
select ACPI
+ select PCI
select ACPI_NUMA
default y
help
^ permalink raw reply [flat|nested] 4+ messages in thread* [2.6 patch] ACPI should depend on, not select PCI
@ 2006-03-05 22:21 Adrian Bunk
2006-03-05 22:25 ` Andrew Morton
0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2006-03-05 22:21 UTC (permalink / raw)
To: Andrew Morton; +Cc: len.brown, linux-acpi, linux-kernel
ACPI should depend on, not select PCI.
Otherwise, illegal configurations like X86_VOYAGER=y, PCI=y are
possible.
This patch also fixes the options select'ing ACPI to also select PCI.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 16 Feb 2006
arch/ia64/Kconfig | 1 +
arch/x86_64/Kconfig | 1 +
drivers/acpi/Kconfig | 3 +--
3 files changed, 3 insertions(+), 2 deletions(-)
--- linux-2.6.16-rc3-mm1-full/drivers/acpi/Kconfig.old 2006-02-16 21:21:23.000000000 +0100
+++ linux-2.6.16-rc3-mm1-full/drivers/acpi/Kconfig 2006-02-16 21:21:42.000000000 +0100
@@ -10,9 +10,8 @@
config ACPI
bool "ACPI Support"
depends on IA64 || X86
+ depends on PCI
select PM
- select PCI
-
default y
---help---
Advanced Configuration and Power Interface (ACPI) support for
--- linux-2.6.16-rc3-mm1-full/arch/ia64/Kconfig.old 2006-02-16 21:21:52.000000000 +0100
+++ linux-2.6.16-rc3-mm1-full/arch/ia64/Kconfig 2006-02-16 21:22:08.000000000 +0100
@@ -73,6 +73,7 @@
config IA64_GENERIC
bool "generic"
select ACPI
+ select PCI
select NUMA
select ACPI_NUMA
help
--- linux-2.6.16-rc3-mm1-full/arch/x86_64/Kconfig.old 2006-02-16 21:22:19.000000000 +0100
+++ linux-2.6.16-rc3-mm1-full/arch/x86_64/Kconfig 2006-02-16 21:23:39.000000000 +0100
@@ -285,6 +285,7 @@
bool "ACPI NUMA detection"
depends on NUMA
select ACPI
+ select PCI
select ACPI_NUMA
default y
help
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [2.6 patch] ACPI should depend on, not select PCI
2006-03-05 22:21 Adrian Bunk
@ 2006-03-05 22:25 ` Andrew Morton
2006-03-05 23:11 ` Dave Jones
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2006-03-05 22:25 UTC (permalink / raw)
To: Adrian Bunk; +Cc: len.brown, linux-acpi, linux-kernel
Adrian Bunk <bunk@stusta.de> wrote:
>
> ACPI should depend on, not select PCI.
>
It's surprising that there's any such linkage, actually. Is it
impossible for a non-PCI system to have ACPI?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6 patch] ACPI should depend on, not select PCI
2006-03-05 22:25 ` Andrew Morton
@ 2006-03-05 23:11 ` Dave Jones
0 siblings, 0 replies; 4+ messages in thread
From: Dave Jones @ 2006-03-05 23:11 UTC (permalink / raw)
To: Andrew Morton; +Cc: Adrian Bunk, len.brown, linux-acpi, linux-kernel
On Sun, Mar 05, 2006 at 02:25:54PM -0800, Andrew Morton wrote:
> Adrian Bunk <bunk@stusta.de> wrote:
> >
> > ACPI should depend on, not select PCI.
> >
>
> It's surprising that there's any such linkage, actually. Is it
> impossible for a non-PCI system to have ACPI?
When ACPI was concieved (~1999 according to the spec I have handy)
ISA-only PCs were somewhat scarce. It's probably safe to say anything
that supports ACPI has PCI (For x86[64] at least, I don't know about ia64)
The spec mentions as a minimum requirement for OSPM/ACPI systems
amongst other things..
"A _PRT method for all root PCI bridges"
which pretty much sounds like it's at dependant on PCI (or a later
evolved standard like PCIE) hardware being present.
Dave
--
http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-05 23:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16 20:32 [2.6 patch] ACPI should depend on, not select PCI Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2006-03-05 22:21 Adrian Bunk
2006-03-05 22:25 ` Andrew Morton
2006-03-05 23:11 ` Dave Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox