xref: /openbmc/linux/drivers/atm/Kconfig (revision 5b74a20d)
1# SPDX-License-Identifier: GPL-2.0
2#
3# ATM device configuration
4#
5
6menuconfig ATM_DRIVERS
7	bool "ATM drivers"
8	depends on NETDEVICES && ATM
9	default y
10	help
11	  Say Y here to get to see options for Asynchronous Transfer Mode
12	  device drivers. This option alone does not add any kernel code.
13
14	  If you say N, all options in this submenu will be skipped and disabled.
15
16if ATM_DRIVERS && NETDEVICES && ATM
17
18config ATM_DUMMY
19	tristate "Dummy ATM driver"
20	help
21	  Dummy ATM driver. Useful for proxy signalling, testing,
22	  and development.  If unsure, say N.
23
24config ATM_TCP
25	tristate "ATM over TCP"
26	depends on INET
27	help
28	  ATM over TCP driver. Useful mainly for development and for
29	  experiments. If unsure, say N.
30
31config ATM_LANAI
32	tristate "Efficient Networks Speedstream 3010"
33	depends on PCI && ATM
34	help
35	  Supports ATM cards based on the Efficient Networks "Lanai"
36	  chipset such as the Speedstream 3010 and the ENI-25p.  The
37	  Speedstream 3060 is currently not supported since we don't
38	  have the code to drive the on-board Alcatel DSL chipset (yet).
39
40config ATM_ENI
41	tristate "Efficient Networks ENI155P"
42	depends on PCI
43	help
44	  Driver for the Efficient Networks ENI155p series and SMC ATM
45	  Power155 155 Mbps ATM adapters. Both, the versions with 512KB and
46	  2MB on-board RAM (Efficient calls them "C" and "S", respectively),
47	  and the FPGA and the ASIC Tonga versions of the board are supported.
48	  The driver works with MMF (-MF or ...F) and UTP-5 (-U5 or ...D)
49	  adapters.
50
51	  To compile this driver as a module, choose M here: the module will
52	  be called eni.
53
54config ATM_ENI_DEBUG
55	bool "Enable extended debugging"
56	depends on ATM_ENI
57	help
58	  Extended debugging records various events and displays that list
59	  when an inconsistency is detected. This mechanism is faster than
60	  generally using printks, but still has some impact on performance.
61	  Note that extended debugging may create certain race conditions
62	  itself. Enable this ONLY if you suspect problems with the driver.
63
64config ATM_ENI_TUNE_BURST
65	bool "Fine-tune burst settings"
66	depends on ATM_ENI
67	help
68	  In order to obtain good throughput, the ENI NIC can transfer
69	  multiple words of data per PCI bus access cycle. Such a multi-word
70	  transfer is called a burst.
71
72	  The default settings for the burst sizes are suitable for most PCI
73	  chipsets. However, in some cases, large bursts may overrun buffers
74	  in the PCI chipset and cause data corruption. In such cases, large
75	  bursts must be disabled and only (slower) small bursts can be used.
76	  The burst sizes can be set independently in the send (TX) and
77	  receive (RX) direction.
78
79	  Note that enabling many different burst sizes in the same direction
80	  may increase the cost of setting up a transfer such that the
81	  resulting throughput is lower than when using only the largest
82	  available burst size.
83
84	  Also, sometimes larger bursts lead to lower throughput, e.g. on an
85	  Intel 440FX board, a drop from 135 Mbps to 103 Mbps was observed
86	  when going from 8W to 16W bursts.
87
88config ATM_ENI_BURST_TX_16W
89	bool "Enable 16W TX bursts (discouraged)"
90	depends on ATM_ENI_TUNE_BURST
91	help
92	  Burst sixteen words at once in the send direction. This may work
93	  with recent PCI chipsets, but is known to fail with older chipsets.
94
95config ATM_ENI_BURST_TX_8W
96	bool "Enable 8W TX bursts (recommended)"
97	depends on ATM_ENI_TUNE_BURST
98	help
99	  Burst eight words at once in the send direction. This is the default
100	  setting.
101
102config ATM_ENI_BURST_TX_4W
103	bool "Enable 4W TX bursts (optional)"
104	depends on ATM_ENI_TUNE_BURST
105	help
106	  Burst four words at once in the send direction. You may want to try
107	  this if you have disabled 8W bursts. Enabling 4W if 8W is also set
108	  may or may not improve throughput.
109
110config ATM_ENI_BURST_TX_2W
111	bool "Enable 2W TX bursts (optional)"
112	depends on ATM_ENI_TUNE_BURST
113	help
114	  Burst two words at once in the send direction. You may want to try
115	  this if you have disabled 4W and 8W bursts. Enabling 2W if 4W or 8W
116	  are also set may or may not improve throughput.
117
118config ATM_ENI_BURST_RX_16W
119	bool "Enable 16W RX bursts (discouraged)"
120	depends on ATM_ENI_TUNE_BURST
121	help
122	  Burst sixteen words at once in the receive direction. This may work
123	  with recent PCI chipsets, but is known to fail with older chipsets.
124
125config ATM_ENI_BURST_RX_8W
126	bool "Enable 8W RX bursts (discouraged)"
127	depends on ATM_ENI_TUNE_BURST
128	help
129	  Burst eight words at once in the receive direction. This may work
130	  with recent PCI chipsets, but is known to fail with older chipsets,
131	  such as the Intel Neptune series.
132
133config ATM_ENI_BURST_RX_4W
134	bool "Enable 4W RX bursts (recommended)"
135	depends on ATM_ENI_TUNE_BURST
136	help
137	  Burst four words at once in the receive direction. This is the
138	  default setting. Enabling 4W if 8W is also set may or may not
139	  improve throughput.
140
141config ATM_ENI_BURST_RX_2W
142	bool "Enable 2W RX bursts (optional)"
143	depends on ATM_ENI_TUNE_BURST
144	help
145	  Burst two words at once in the receive direction. You may want to
146	  try this if you have disabled 4W and 8W bursts. Enabling 2W if 4W or
147	  8W are also set may or may not improve throughput.
148
149config ATM_ZATM
150	tristate "ZeitNet ZN1221/ZN1225"
151	depends on PCI && VIRT_TO_BUS
152	help
153	  Driver for the ZeitNet ZN1221 (MMF) and ZN1225 (UTP-5) 155 Mbps ATM
154	  adapters.
155
156	  To compile this driver as a module, choose M here: the module will
157	  be called zatm.
158
159config ATM_ZATM_DEBUG
160	bool "Enable extended debugging"
161	depends on ATM_ZATM
162	help
163	  Extended debugging records various events and displays that list
164	  when an inconsistency is detected. This mechanism is faster than
165	  generally using printks, but still has some impact on performance.
166	  Note that extended debugging may create certain race conditions
167	  itself. Enable this ONLY if you suspect problems with the driver.
168
169config ATM_NICSTAR
170	tristate "IDT 77201 (NICStAR) (ForeRunnerLE)"
171	depends on PCI
172	help
173	  The NICStAR chipset family is used in a large number of ATM NICs for
174	  25 and for 155 Mbps, including IDT cards and the Fore ForeRunnerLE
175	  series. Say Y if you have one of those.
176
177	  To compile this driver as a module, choose M here: the module will
178	  be called nicstar.
179
180config ATM_NICSTAR_USE_SUNI
181	bool "Use suni PHY driver (155Mbps)"
182	depends on ATM_NICSTAR
183	help
184	  Support for the S-UNI and compatible PHYsical layer chips. These are
185	  found in most 155Mbps NICStAR based ATM cards, namely in the
186	  ForeRunner LE155 cards. This driver provides detection of cable~
187	  removal and reinsertion and provides some statistics. This driver
188	  doesn't have removal capability when compiled as a module, so if you
189	  need that capability don't include S-UNI support (it's not needed to
190	  make the card work).
191
192config ATM_NICSTAR_USE_IDT77105
193	bool "Use IDT77105 PHY driver (25Mbps)"
194	depends on ATM_NICSTAR
195	help
196	  Support for the PHYsical layer chip in ForeRunner LE25 cards. In
197	  addition to cable removal/reinsertion detection, this driver allows
198	  you to control the loopback mode of the chip via a dedicated IOCTL.
199	  This driver is required for proper handling of temporary carrier
200	  loss, so if you have a 25Mbps NICStAR based ATM card you must say Y.
201
202config ATM_IDT77252
203	tristate "IDT 77252 (NICStAR II)"
204	depends on PCI
205	help
206	  Driver for the IDT 77252 ATM PCI chips.
207
208	  To compile this driver as a module, choose M here: the module will
209	  be called idt77252.
210
211config ATM_IDT77252_DEBUG
212	bool "Enable debugging messages"
213	depends on ATM_IDT77252
214	help
215	  Somewhat useful debugging messages are available. The choice of
216	  messages is controlled by a bitmap.  This may be specified as a
217	  module argument.  See the file <file:drivers/atm/idt77252.h> for
218	  the meanings of the bits in the mask.
219
220	  When active, these messages can have a significant impact on the
221	  speed of the driver, and the size of your syslog files! When
222	  inactive, they will have only a modest impact on performance.
223
224config ATM_IDT77252_RCV_ALL
225	bool "Receive ALL cells in raw queue"
226	depends on ATM_IDT77252
227	help
228	  Enable receiving of all cells on the ATM link, that do not match
229	  an open connection in the raw cell queue of the driver.  Useful
230	  for debugging or special applications only, so the safe answer is N.
231
232config ATM_IDT77252_USE_SUNI
233	bool
234	depends on ATM_IDT77252
235	default y
236
237config ATM_IA
238	tristate "Interphase ATM PCI x575/x525/x531"
239	depends on PCI
240	help
241	  This is a driver for the Interphase (i)ChipSAR adapter cards
242	  which include a variety of variants in term of the size of the
243	  control memory (128K-1KVC, 512K-4KVC), the size of the packet
244	  memory (128K, 512K, 1M), and the PHY type (Single/Multi mode OC3,
245	  UTP155, UTP25, DS3 and E3). Go to:
246	  	<http://www.iphase.com/>
247	  for more info about the cards. Say Y (or M to compile as a module
248	  named iphase) here if you have one of these cards.
249
250	  See the file
251	  <file:Documentation/networking/device_drivers/atm/iphase.rst>
252	  for further details.
253
254config ATM_IA_DEBUG
255	bool "Enable debugging messages"
256	depends on ATM_IA
257	help
258	  Somewhat useful debugging messages are available. The choice of
259	  messages is controlled by a bitmap. This may be specified as a
260	  module argument (kernel command line argument as well?), changed
261	  dynamically using an ioctl (Get the debug utility, iadbg, from
262	  <ftp://ftp.iphase.com/pub/atm/pci/>).
263
264	  See the file <file:drivers/atm/iphase.h> for the meanings of the
265	  bits in the mask.
266
267	  When active, these messages can have a significant impact on the
268	  speed of the driver, and the size of your syslog files! When
269	  inactive, they will have only a modest impact on performance.
270
271config ATM_FORE200E
272	tristate "FORE Systems 200E-series"
273	depends on (PCI || SBUS)
274	select FW_LOADER
275	help
276	  This is a driver for the FORE Systems 200E-series ATM adapter
277	  cards. It simultaneously supports PCA-200E and SBA-200E models
278	  on PCI and SBUS hosts. Say Y (or M to compile as a module
279	  named fore_200e) here if you have one of these ATM adapters.
280
281	  See the file
282	  <file:Documentation/networking/device_drivers/atm/fore200e.rst> for
283	  further details.
284
285config ATM_FORE200E_USE_TASKLET
286	bool "Defer interrupt work to a tasklet"
287	depends on ATM_FORE200E
288	default n
289	help
290	  This defers work to be done by the interrupt handler to a
291	  tasklet instead of handling everything at interrupt time.  This
292	  may improve the responsive of the host.
293
294config ATM_FORE200E_TX_RETRY
295	int "Maximum number of tx retries"
296	depends on ATM_FORE200E
297	default "16"
298	help
299	  Specifies the number of times the driver attempts to transmit
300	  a message before giving up, if the transmit queue of the ATM card
301	  is transiently saturated.
302
303	  Saturation of the transmit queue may occur only under extreme
304	  conditions, e.g. when a fast host continuously submits very small
305	  frames (<64 bytes) or raw AAL0 cells (48 bytes) to the ATM adapter.
306
307	  Note that under common conditions, it is unlikely that you encounter
308	  a saturation of the transmit queue, so the retry mechanism never
309	  comes into play.
310
311config ATM_FORE200E_DEBUG
312	int "Debugging level (0-3)"
313	depends on ATM_FORE200E
314	default "0"
315	help
316	  Specifies the level of debugging messages issued by the driver.
317	  The verbosity of the driver increases with the value of this
318	  parameter.
319
320	  When active, these messages can have a significant impact on
321	  the performances of the driver, and the size of your syslog files!
322	  Keep the debugging level to 0 during normal operations.
323
324config ATM_HE
325	tristate "ForeRunner HE Series"
326	depends on PCI
327	help
328	  This is a driver for the Marconi ForeRunner HE-series ATM adapter
329	  cards. It simultaneously supports the 155 and 622 versions.
330
331config ATM_HE_USE_SUNI
332	bool "Use S/UNI PHY driver"
333	depends on ATM_HE
334	help
335	  Support for the S/UNI-Ultra and S/UNI-622 found in the ForeRunner
336	  HE cards.  This driver provides carrier detection some statistics.
337
338config ATM_SOLOS
339	tristate "Solos ADSL2+ PCI Multiport card driver"
340	depends on PCI
341	select FW_LOADER
342	help
343	  Support for the Solos multiport ADSL2+ card.
344
345endif # ATM
346