2019-05-19 15:07:45 +03:00
# SPDX-License-Identifier: GPL-2.0-only
2005-11-07 12:00:15 +03:00
#
# RapidIO configuration
#
2018-11-15 22:05:36 +03:00
config HAVE_RAPIDIO
bool
menuconfig RAPIDIO
tristate "RapidIO support"
depends on HAVE_RAPIDIO || PCI
help
If you say Y here, the kernel will include drivers and
infrastructure code to support RapidIO interconnect devices.
2011-11-03 00:39:09 +04:00
source "drivers/rapidio/devices/Kconfig"
2005-11-07 12:00:15 +03:00
config RAPIDIO_DISC_TIMEOUT
int "Discovery timeout duration (seconds)"
depends on RAPIDIO
default "30"
2020-06-13 19:50:22 +03:00
help
2005-11-07 12:00:15 +03:00
Amount of time a discovery node waits for a host to complete
2006-10-04 00:31:37 +04:00
enumeration before giving up.
2010-05-27 01:43:57 +04:00
2010-05-27 01:44:01 +04:00
config RAPIDIO_ENABLE_RX_TX_PORTS
bool "Enable RapidIO Input/Output Ports"
depends on RAPIDIO
2020-06-13 19:50:22 +03:00
help
2010-05-27 01:44:01 +04:00
The RapidIO specification describes a Output port transmit
enable and a Input port receive enable. The recommended state
for Input ports and Output ports should be disabled. When
this switch is set the RapidIO subsystem will enable all
ports for Input/Output direction to allow other traffic
than Maintenance transfers.
2012-06-01 03:26:38 +04:00
config RAPIDIO_DMA_ENGINE
bool "DMA Engine support for RapidIO"
depends on RAPIDIO
2020-07-29 01:19:40 +03:00
depends on DMADEVICES
2012-06-01 03:26:38 +04:00
select DMA_ENGINE
help
Say Y here if you want to use DMA Engine frameork for RapidIO data
transfers to/from target RIO devices. RapidIO uses NREAD and
NWRITE (NWRITE_R, SWRITE) requests to transfer data between local
memory and memory on remote target device. You need a DMA controller
capable to perform data transfers to/from RapidIO.
If you are unsure about this, say Y here.
2010-05-27 01:44:03 +04:00
config RAPIDIO_DEBUG
bool "RapidIO subsystem debug messages"
depends on RAPIDIO
help
Say Y here if you want the RapidIO subsystem to produce a bunch of
debug messages to the system log. Select this if you are having a
problem with the RapidIO subsystem and want to see more of what is
going on.
If you are unsure about this, say N here.
2011-11-03 00:39:09 +04:00
2013-05-25 02:55:05 +04:00
choice
prompt "Enumeration method"
depends on RAPIDIO
default RAPIDIO_ENUM_BASIC
help
There are different enumeration and discovery mechanisms offered
for RapidIO subsystem. You may select single built-in method or
or any number of methods to be built as modules.
Selecting a built-in method disables use of loadable methods.
If unsure, select Basic built-in.
config RAPIDIO_ENUM_BASIC
tristate "Basic"
help
This option includes basic RapidIO fabric enumeration and discovery
mechanism similar to one described in RapidIO specification Annex 1.
endchoice
2016-08-03 00:06:25 +03:00
config RAPIDIO_CHMAN
tristate "RapidIO Channelized Messaging driver"
depends on RAPIDIO
help
This option includes RapidIO channelized messaging driver which
provides socket-like interface to allow sharing of single RapidIO
messaging mailbox between multiple user-space applications.
2019-06-18 22:03:23 +03:00
See "Documentation/driver-api/rapidio/rio_cm.rst" for driver description.
2016-08-03 00:06:25 +03:00
2016-03-23 00:27:08 +03:00
config RAPIDIO_MPORT_CDEV
tristate "RapidIO /dev mport device driver"
depends on RAPIDIO
help
This option includes generic RapidIO mport device driver which
allows to user space applications to perform RapidIO-specific
operations through selected RapidIO mport.
2013-07-04 02:08:50 +04:00
menu "RapidIO Switch drivers"
depends on RAPIDIO
2011-11-03 00:39:09 +04:00
source "drivers/rapidio/switches/Kconfig"
2013-07-04 02:08:50 +04:00
endmenu