b500563b22
Choosing PCI or not at config time is allowed on some platforms via an if expression in arch/powerpc/Kconfig. To add a new platform with PCI support selectable at config time, you must change the if expression. This patch makes this easier by changing: bool "PCI support" if <long expression> to bool "PCI support" if PPC_PCI_CHOICE and adding select PPC_PCI_CHOICE to all the config nodes that were previously in the PCI if expression. Platforms with unconditional PCI support continue to just select PCI in their config nodes. Signed-off-by: John Rigby <jrigby@freescale.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
config PPC_ISERIES
|
|
bool "IBM Legacy iSeries"
|
|
depends on PPC_MULTIPLATFORM && PPC64
|
|
select PPC_INDIRECT_IO
|
|
select PPC_PCI_CHOICE if EMBEDDED
|
|
|
|
menu "iSeries device drivers"
|
|
depends on PPC_ISERIES
|
|
|
|
config VIOCONS
|
|
bool "iSeries Virtual Console Support (Obsolete)"
|
|
depends on !HVC_ISERIES
|
|
default n
|
|
help
|
|
This is the old virtual console driver for legacy iSeries.
|
|
You should use the iSeries Hypervisor Virtual Console
|
|
support instead.
|
|
|
|
config VIODASD
|
|
tristate "iSeries Virtual I/O disk support"
|
|
help
|
|
If you are running on an iSeries system and you want to use
|
|
virtual disks created and managed by OS/400, say Y.
|
|
|
|
config VIOCD
|
|
tristate "iSeries Virtual I/O CD support"
|
|
help
|
|
If you are running Linux on an IBM iSeries system and you want to
|
|
read a CD drive owned by OS/400, say Y here.
|
|
|
|
config VIOTAPE
|
|
tristate "iSeries Virtual Tape Support"
|
|
help
|
|
If you are running Linux on an iSeries system and you want Linux
|
|
to read and/or write a tape drive owned by OS/400, say Y here.
|
|
|
|
endmenu
|
|
|
|
config VIOPATH
|
|
bool
|
|
depends on VIOCONS || VIODASD || VIOCD || VIOTAPE || ISERIES_VETH
|
|
default y
|