92 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# RapidIO configuration4#5 6config HAVE_RAPIDIO7 bool8 9menuconfig RAPIDIO10 tristate "RapidIO support"11 depends on HAVE_RAPIDIO || PCI12 help13 If you say Y here, the kernel will include drivers and14 infrastructure code to support RapidIO interconnect devices.15 16source "drivers/rapidio/devices/Kconfig"17 18config RAPIDIO_DISC_TIMEOUT19 int "Discovery timeout duration (seconds)"20 depends on RAPIDIO21 default "30"22 help23 Amount of time a discovery node waits for a host to complete24 enumeration before giving up.25 26config RAPIDIO_ENABLE_RX_TX_PORTS27 bool "Enable RapidIO Input/Output Ports"28 depends on RAPIDIO29 help30 The RapidIO specification describes a Output port transmit31 enable and a Input port receive enable. The recommended state32 for Input ports and Output ports should be disabled. When33 this switch is set the RapidIO subsystem will enable all34 ports for Input/Output direction to allow other traffic35 than Maintenance transfers.36 37config RAPIDIO_DMA_ENGINE38 bool "DMA Engine support for RapidIO"39 depends on RAPIDIO40 depends on DMADEVICES41 select DMA_ENGINE42 help43 Say Y here if you want to use DMA Engine frameork for RapidIO data44 transfers to/from target RIO devices. RapidIO uses NREAD and45 NWRITE (NWRITE_R, SWRITE) requests to transfer data between local46 memory and memory on remote target device. You need a DMA controller47 capable to perform data transfers to/from RapidIO.48 49 If you are unsure about this, say Y here.50 51config RAPIDIO_DEBUG52 bool "RapidIO subsystem debug messages"53 depends on RAPIDIO54 help55 Say Y here if you want the RapidIO subsystem to produce a bunch of56 debug messages to the system log. Select this if you are having a57 problem with the RapidIO subsystem and want to see more of what is58 going on.59 60 If you are unsure about this, say N here.61 62config RAPIDIO_ENUM_BASIC63 tristate "Basic Enumeration method"64 depends on RAPIDIO65 help66 This option includes basic RapidIO fabric enumeration and discovery67 mechanism similar to one described in RapidIO specification Annex 1.68 69config RAPIDIO_CHMAN70 tristate "RapidIO Channelized Messaging driver"71 depends on RAPIDIO72 help73 This option includes RapidIO channelized messaging driver which74 provides socket-like interface to allow sharing of single RapidIO75 messaging mailbox between multiple user-space applications.76 See "Documentation/driver-api/rapidio/rio_cm.rst" for driver description.77 78config RAPIDIO_MPORT_CDEV79 tristate "RapidIO /dev mport device driver"80 depends on RAPIDIO81 help82 This option includes generic RapidIO mport device driver which83 allows to user space applications to perform RapidIO-specific84 operations through selected RapidIO mport.85 86menu "RapidIO Switch drivers"87 depends on RAPIDIO88 89source "drivers/rapidio/switches/Kconfig"90 91endmenu92