aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-26 02:47:42 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-26 02:47:42 -0400
commitf9bd170a87948a9e077149b70fb192c563770fdf (patch)
treec759b57b67ab41a859e19f7dcee571504b368202 /arch/powerpc/Kconfig
parent25635c71e44111a6bd48f342e144e2fc02d0a314 (diff)
powerpc: Merge i8259.c into arch/powerpc/sysdev
This changes the parameters for i8259_init so that it takes two parameters: a physical address for generating an interrupt acknowledge cycle, and an interrupt number offset. i8259_init now sets the irq_desc[] for its interrupts; all the callers were doing this, and that code is gone now. This also defines a CONFIG_PPC_I8259 symbol to select i8259.o for inclusion, and makes the platforms that need it select that symbol. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index a3451d5bb788..9f279e0d84f2 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -275,11 +275,13 @@ endchoice
275config PPC_PSERIES 275config PPC_PSERIES
276 depends on PPC_MULTIPLATFORM && PPC64 276 depends on PPC_MULTIPLATFORM && PPC64
277 bool " IBM pSeries & new (POWER5-based) iSeries" 277 bool " IBM pSeries & new (POWER5-based) iSeries"
278 select PPC_I8259
278 default y 279 default y
279 280
280config PPC_CHRP 281config PPC_CHRP
281 bool " Common Hardware Reference Platform (CHRP) based machines" 282 bool " Common Hardware Reference Platform (CHRP) based machines"
282 depends on PPC_MULTIPLATFORM && PPC32 283 depends on PPC_MULTIPLATFORM && PPC32
284 select PPC_I8259
283 select PPC_INDIRECT_PCI 285 select PPC_INDIRECT_PCI
284 default y 286 default y
285 287
@@ -298,6 +300,7 @@ config PPC_PMAC64
298config PPC_PREP 300config PPC_PREP
299 bool " PowerPC Reference Platform (PReP) based machines" 301 bool " PowerPC Reference Platform (PReP) based machines"
300 depends on PPC_MULTIPLATFORM && PPC32 302 depends on PPC_MULTIPLATFORM && PPC32
303 select PPC_I8259
301 select PPC_INDIRECT_PCI 304 select PPC_INDIRECT_PCI
302 default y 305 default y
303 306
@@ -628,6 +631,7 @@ menu "Bus options"
628config ISA 631config ISA
629 bool "Support for ISA-bus hardware" 632 bool "Support for ISA-bus hardware"
630 depends on PPC_PREP || PPC_CHRP 633 depends on PPC_PREP || PPC_CHRP
634 select PPC_I8259
631 help 635 help
632 Find out whether you have ISA slots on your motherboard. ISA is the 636 Find out whether you have ISA slots on your motherboard. ISA is the
633 name of a bus system, i.e. the way the CPU talks to the other stuff 637 name of a bus system, i.e. the way the CPU talks to the other stuff
@@ -640,6 +644,11 @@ config GENERIC_ISA_DMA
640 depends on PPC64 || POWER4 || 6xx && !CPM2 644 depends on PPC64 || POWER4 || 6xx && !CPM2
641 default y 645 default y
642 646
647config PPC_I8259
648 bool
649 default y if 85xx
650 default n
651
643config PPC_INDIRECT_PCI 652config PPC_INDIRECT_PCI
644 bool 653 bool
645 depends on PCI 654 depends on PCI
@@ -679,6 +688,7 @@ config MPC83xx_PCI2
679config PCI_QSPAN 688config PCI_QSPAN
680 bool "QSpan PCI" 689 bool "QSpan PCI"
681 depends on !4xx && !CPM2 && 8xx 690 depends on !4xx && !CPM2 && 8xx
691 select PPC_I8259
682 help 692 help
683 Say Y here if you have a system based on a Motorola 8xx-series 693 Say Y here if you have a system based on a Motorola 8xx-series
684 embedded processor with a QSPAN PCI interface, otherwise say N. 694 embedded processor with a QSPAN PCI interface, otherwise say N.