summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-15 14:05:36 -0500
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-22 21:46:13 -0500
commit1753d50c9fdc39338d90ed246fc99f9a0efc35c3 (patch)
tree76e6917a90d16411e9529c790d570e9c0a1f8d59 /arch/mips/Kconfig
parent8fb71ef9b91d6c89b22ea9430c231e988d88f688 (diff)
rapidio: consolidate RAPIDIO config entry in drivers/rapidio
There is no good reason to duplicate the RAPIDIO menu in various architectures. Instead provide a selectable HAVE_RAPIDIO symbol that indicates native availability of RAPIDIO support and the handle the rest in drivers/pci. This also means we now provide support for PCI(e) to Rapidio bridges for every architecture instead of a limited subset. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Paul Burton <paul.burton@mips.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig15
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 3912250ff813..67fbd4952ff4 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -892,7 +892,7 @@ config CAVIUM_OCTEON_SOC
892 bool "Cavium Networks Octeon SoC based boards" 892 bool "Cavium Networks Octeon SoC based boards"
893 select CEVT_R4K 893 select CEVT_R4K
894 select ARCH_HAS_PHYS_TO_DMA 894 select ARCH_HAS_PHYS_TO_DMA
895 select HAS_RAPIDIO 895 select HAVE_RAPIDIO
896 select PHYS_ADDR_T_64BIT 896 select PHYS_ADDR_T_64BIT
897 select SYS_SUPPORTS_64BIT_KERNEL 897 select SYS_SUPPORTS_64BIT_KERNEL
898 select SYS_SUPPORTS_BIG_ENDIAN 898 select SYS_SUPPORTS_BIG_ENDIAN
@@ -3107,19 +3107,6 @@ config ZONE_DMA
3107config ZONE_DMA32 3107config ZONE_DMA32
3108 bool 3108 bool
3109 3109
3110config HAS_RAPIDIO
3111 bool
3112 default n
3113
3114config RAPIDIO
3115 tristate "RapidIO support"
3116 depends on HAS_RAPIDIO || PCI
3117 help
3118 If you say Y here, the kernel will include drivers and
3119 infrastructure code to support RapidIO interconnect devices.
3120
3121source "drivers/rapidio/Kconfig"
3122
3123endmenu 3110endmenu
3124 3111
3125config TRAD_SIGNALS 3112config TRAD_SIGNALS