xref: /openbmc/linux/drivers/rapidio/Kconfig (revision a11650e1)
1394b701cSMatt Porter#
2394b701cSMatt Porter# RapidIO configuration
3394b701cSMatt Porter#
448618fb4SAlexandre Bouninesource "drivers/rapidio/devices/Kconfig"
548618fb4SAlexandre Bounine
6394b701cSMatt Porterconfig RAPIDIO_DISC_TIMEOUT
7394b701cSMatt Porter	int "Discovery timeout duration (seconds)"
8394b701cSMatt Porter	depends on RAPIDIO
9394b701cSMatt Porter	default "30"
10394b701cSMatt Porter	---help---
11394b701cSMatt Porter	  Amount of time a discovery node waits for a host to complete
1209509603SMatt LaPlante	  enumeration before giving up.
1307590ff0SAlexandre Bounine
14933af4a6SThomas Mollconfig RAPIDIO_ENABLE_RX_TX_PORTS
15933af4a6SThomas Moll	bool "Enable RapidIO Input/Output Ports"
16933af4a6SThomas Moll	depends on RAPIDIO
17933af4a6SThomas Moll	---help---
18933af4a6SThomas Moll	  The RapidIO specification describes a Output port transmit
19933af4a6SThomas Moll	  enable and a Input port receive enable. The recommended state
20933af4a6SThomas Moll	  for Input ports and Output ports should be disabled. When
21933af4a6SThomas Moll	  this switch is set the RapidIO subsystem will enable all
22933af4a6SThomas Moll	  ports for Input/Output direction to allow other traffic
23933af4a6SThomas Moll	  than Maintenance transfers.
24933af4a6SThomas Moll
25e42d98ebSAlexandre Bounineconfig RAPIDIO_DMA_ENGINE
26e42d98ebSAlexandre Bounine	bool "DMA Engine support for RapidIO"
27e42d98ebSAlexandre Bounine	depends on RAPIDIO
28e42d98ebSAlexandre Bounine	select DMADEVICES
29e42d98ebSAlexandre Bounine	select DMA_ENGINE
30e42d98ebSAlexandre Bounine	help
31e42d98ebSAlexandre Bounine	  Say Y here if you want to use DMA Engine frameork for RapidIO data
32e42d98ebSAlexandre Bounine	  transfers to/from target RIO devices. RapidIO uses NREAD and
33e42d98ebSAlexandre Bounine	  NWRITE (NWRITE_R, SWRITE) requests to transfer data between local
34e42d98ebSAlexandre Bounine	  memory and memory on remote target device. You need a DMA controller
35e42d98ebSAlexandre Bounine	  capable to perform data transfers to/from RapidIO.
36e42d98ebSAlexandre Bounine
37e42d98ebSAlexandre Bounine	  If you are unsure about this, say Y here.
38e42d98ebSAlexandre Bounine
39011507e4SAlexandre Bounineconfig RAPIDIO_DEBUG
40011507e4SAlexandre Bounine	bool "RapidIO subsystem debug messages"
41011507e4SAlexandre Bounine	depends on RAPIDIO
42011507e4SAlexandre Bounine	help
43011507e4SAlexandre Bounine	  Say Y here if you want the RapidIO subsystem to produce a bunch of
44011507e4SAlexandre Bounine	  debug messages to the system log. Select this if you are having a
45011507e4SAlexandre Bounine	  problem with the RapidIO subsystem and want to see more of what is
46011507e4SAlexandre Bounine	  going on.
47011507e4SAlexandre Bounine
48011507e4SAlexandre Bounine	  If you are unsure about this, say N here.
4948618fb4SAlexandre Bounine
50a11650e1SAlexandre Bouninechoice
51a11650e1SAlexandre Bounine	prompt "Enumeration method"
52a11650e1SAlexandre Bounine	depends on RAPIDIO
53a11650e1SAlexandre Bounine	default RAPIDIO_ENUM_BASIC
54a11650e1SAlexandre Bounine	help
55a11650e1SAlexandre Bounine	  There are different enumeration and discovery mechanisms offered
56a11650e1SAlexandre Bounine	  for RapidIO subsystem. You may select single built-in method or
57a11650e1SAlexandre Bounine	  or any number of methods to be built as modules.
58a11650e1SAlexandre Bounine	  Selecting a built-in method disables use of loadable methods.
59a11650e1SAlexandre Bounine
60a11650e1SAlexandre Bounine	  If unsure, select Basic built-in.
61a11650e1SAlexandre Bounine
62a11650e1SAlexandre Bounineconfig RAPIDIO_ENUM_BASIC
63a11650e1SAlexandre Bounine	tristate "Basic"
64a11650e1SAlexandre Bounine	help
65a11650e1SAlexandre Bounine	  This option includes basic RapidIO fabric enumeration and discovery
66a11650e1SAlexandre Bounine	  mechanism similar to one described in RapidIO specification Annex 1.
67a11650e1SAlexandre Bounine
68a11650e1SAlexandre Bounineendchoice
69a11650e1SAlexandre Bounine
7048618fb4SAlexandre Bouninesource "drivers/rapidio/switches/Kconfig"
71