blob: b5a10d3c92c71820f44c68e056537b78b212d500 [file] [log] [blame]
Matt Porter394b7012005-11-07 01:00:15 -08001#
2# RapidIO configuration
3#
Alexandre Bounine48618fb2011-11-02 13:39:09 -07004source "drivers/rapidio/devices/Kconfig"
5
Matt Porter394b7012005-11-07 01:00:15 -08006config RAPIDIO_DISC_TIMEOUT
7 int "Discovery timeout duration (seconds)"
8 depends on RAPIDIO
9 default "30"
10 ---help---
11 Amount of time a discovery node waits for a host to complete
Matt LaPlante09509602006-10-03 22:31:37 +020012 enumeration before giving up.
Alexandre Bounine07590ff2010-05-26 14:43:57 -070013
Thomas Moll933af4a2010-05-26 14:44:01 -070014config RAPIDIO_ENABLE_RX_TX_PORTS
15 bool "Enable RapidIO Input/Output Ports"
16 depends on RAPIDIO
17 ---help---
18 The RapidIO specification describes a Output port transmit
19 enable and a Input port receive enable. The recommended state
20 for Input ports and Output ports should be disabled. When
21 this switch is set the RapidIO subsystem will enable all
22 ports for Input/Output direction to allow other traffic
23 than Maintenance transfers.
24
Alexandre Bouninee42d98e2012-05-31 16:26:38 -070025config RAPIDIO_DMA_ENGINE
26 bool "DMA Engine support for RapidIO"
27 depends on RAPIDIO
28 select DMADEVICES
29 select DMA_ENGINE
30 help
31 Say Y here if you want to use DMA Engine frameork for RapidIO data
32 transfers to/from target RIO devices. RapidIO uses NREAD and
33 NWRITE (NWRITE_R, SWRITE) requests to transfer data between local
34 memory and memory on remote target device. You need a DMA controller
35 capable to perform data transfers to/from RapidIO.
36
37 If you are unsure about this, say Y here.
38
Alexandre Bounine011507e2010-05-26 14:44:03 -070039config RAPIDIO_DEBUG
40 bool "RapidIO subsystem debug messages"
41 depends on RAPIDIO
42 help
43 Say Y here if you want the RapidIO subsystem to produce a bunch of
44 debug messages to the system log. Select this if you are having a
45 problem with the RapidIO subsystem and want to see more of what is
46 going on.
47
48 If you are unsure about this, say N here.
Alexandre Bounine48618fb2011-11-02 13:39:09 -070049
Alexandre Bouninea11650e2013-05-24 15:55:05 -070050choice
51 prompt "Enumeration method"
52 depends on RAPIDIO
53 default RAPIDIO_ENUM_BASIC
54 help
55 There are different enumeration and discovery mechanisms offered
56 for RapidIO subsystem. You may select single built-in method or
57 or any number of methods to be built as modules.
58 Selecting a built-in method disables use of loadable methods.
59
60 If unsure, select Basic built-in.
61
62config RAPIDIO_ENUM_BASIC
63 tristate "Basic"
64 help
65 This option includes basic RapidIO fabric enumeration and discovery
66 mechanism similar to one described in RapidIO specification Annex 1.
67
68endchoice
69
Alexandre Bouninee8de3702016-03-22 14:27:08 -070070config RAPIDIO_MPORT_CDEV
71 tristate "RapidIO /dev mport device driver"
72 depends on RAPIDIO
73 help
74 This option includes generic RapidIO mport device driver which
75 allows to user space applications to perform RapidIO-specific
76 operations through selected RapidIO mport.
77
Alexandre Bounine2ec3ba62013-07-03 15:08:50 -070078menu "RapidIO Switch drivers"
79 depends on RAPIDIO
80
Alexandre Bounine48618fb2011-11-02 13:39:09 -070081source "drivers/rapidio/switches/Kconfig"
Alexandre Bounine2ec3ba62013-07-03 15:08:50 -070082
83endmenu