You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ppc: Use the indirect_pci.c from arch/powerpc/sysdev
This defines a CONFIG_INDIRECT_PCI symbol to control whether it gets used or not, and fixes the Kconfig to select that symbol for platforms that need it. Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
@@ -280,11 +280,13 @@ config PPC_PSERIES
|
||||
config PPC_CHRP
|
||||
bool " Common Hardware Reference Platform (CHRP) based machines"
|
||||
depends on PPC_MULTIPLATFORM && PPC32
|
||||
select PPC_INDIRECT_PCI
|
||||
default y
|
||||
|
||||
config PPC_PMAC
|
||||
bool " Apple PowerMac based machines"
|
||||
depends on PPC_MULTIPLATFORM
|
||||
select PPC_INDIRECT_PCI if PPC32
|
||||
default y
|
||||
|
||||
config PPC_PMAC64
|
||||
@@ -296,6 +298,7 @@ config PPC_PMAC64
|
||||
config PPC_PREP
|
||||
bool " PowerPC Reference Platform (PReP) based machines"
|
||||
depends on PPC_MULTIPLATFORM && PPC32
|
||||
select PPC_INDIRECT_PCI
|
||||
default y
|
||||
|
||||
config PPC_MAPLE
|
||||
@@ -637,6 +640,12 @@ config GENERIC_ISA_DMA
|
||||
depends on PPC64 || POWER4 || 6xx && !CPM2
|
||||
default y
|
||||
|
||||
config PPC_INDIRECT_PCI
|
||||
bool
|
||||
depends on PCI
|
||||
default y if 40x || 44x || 85xx || 83xx
|
||||
default n
|
||||
|
||||
config EISA
|
||||
bool
|
||||
|
||||
@@ -677,6 +686,7 @@ config PCI_QSPAN
|
||||
config PCI_8260
|
||||
bool
|
||||
depends on PCI && 8260
|
||||
select PPC_INDIRECT_PCI
|
||||
default y
|
||||
|
||||
config 8260_PCI9
|
||||
|
||||
Reference in New Issue
Block a user