![Christoph Hellwig](/assets/img/avatar_default.png)
There is no good reason to duplicate the PCI menu in every architecture. Instead provide a selectable HAVE_PCI symbol that indicates availability of PCI support, and a FORCE_PCI symbol to for PCI on and the handle the rest in drivers/pci. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Acked-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Paul Burton <paul.burton@mips.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
51 lines
936 B
Plaintext
51 lines
936 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
choice
|
|
prompt "PMC-Sierra MSP SOC type"
|
|
depends on PMC_MSP
|
|
|
|
config PMC_MSP4200_EVAL
|
|
bool "PMC-Sierra MSP4200 Eval Board"
|
|
select IRQ_MSP_SLP
|
|
select HAVE_PCI
|
|
select MIPS_L1_CACHE_SHIFT_4
|
|
|
|
config PMC_MSP4200_GW
|
|
bool "PMC-Sierra MSP4200 VoIP Gateway"
|
|
select IRQ_MSP_SLP
|
|
select HAVE_PCI
|
|
|
|
config PMC_MSP7120_EVAL
|
|
bool "PMC-Sierra MSP7120 Eval Board"
|
|
select SYS_SUPPORTS_MULTITHREADING
|
|
select IRQ_MSP_CIC
|
|
select HAVE_PCI
|
|
|
|
config PMC_MSP7120_GW
|
|
bool "PMC-Sierra MSP7120 Residential Gateway"
|
|
select SYS_SUPPORTS_MULTITHREADING
|
|
select IRQ_MSP_CIC
|
|
select HAVE_PCI
|
|
select MSP_HAS_USB
|
|
select MSP_ETH
|
|
|
|
config PMC_MSP7120_FPGA
|
|
bool "PMC-Sierra MSP7120 FPGA"
|
|
select SYS_SUPPORTS_MULTITHREADING
|
|
select IRQ_MSP_CIC
|
|
select HAVE_PCI
|
|
|
|
endchoice
|
|
|
|
config MSP_HAS_USB
|
|
bool
|
|
depends on PMC_MSP
|
|
|
|
config MSP_ETH
|
|
bool
|
|
select MSP_HAS_MAC
|
|
depends on PMC_MSP
|
|
|
|
config MSP_HAS_MAC
|
|
bool
|
|
depends on PMC_MSP
|