4 bool "Ethernet support"
5 depends on ETRAX_ARCH_V10 && NETDEVICES
8 This option enables the ETRAX 100LX built-in 10/100Mbit Ethernet
12 bool "Serial-port support"
13 depends on ETRAX_ARCH_V10
15 Enables the ETRAX 100 serial driver for ser0 (ttyS0)
16 You probably want this enabled.
18 config ETRAX_SERIAL_FAST_TIMER
19 bool "Use fast timers for serial DMA flush (experimental)"
20 depends on ETRAX_SERIAL
22 Select this to have the serial DMAs flushed at a higher rate than
23 normally, possible by using the fast timer API, the timeout is
24 approx. 4 character times.
27 config ETRAX_SERIAL_FLUSH_DMA_FAST
28 bool "Fast serial port DMA flush"
29 depends on ETRAX_SERIAL && !ETRAX_SERIAL_FAST_TIMER
31 Select this to have the serial DMAs flushed at a higher rate than
32 normally possible through a fast timer interrupt (currently at
36 config ETRAX_SERIAL_RX_TIMEOUT_TICKS
37 int "Receive flush timeout (ticks) "
38 depends on ETRAX_SERIAL && !ETRAX_SERIAL_FAST_TIMER && !ETRAX_SERIAL_FLUSH_DMA_FAST
41 Number of timer ticks between flush of receive fifo (1 tick = 10ms).
42 Try 0-3 for low latency applications. Approx 5 for high load
43 applications (e.g. PPP). Maybe this should be more adaptive some
46 config ETRAX_SERIAL_PORT0
47 bool "Serial port 0 enabled"
48 depends on ETRAX_SERIAL
50 Enables the ETRAX 100 serial driver for ser0 (ttyS0)
51 Normally you want this on, unless you use external DMA 1 that uses
52 the same DMA channels.
55 prompt "Ser0 DTR, RI, DSR and CD assignment"
56 depends on ETRAX_SERIAL_PORT0
57 default ETRAX_SER0_DTR_RI_DSR_CD_ON_NONE
59 config ETRAX_SER0_DTR_RI_DSR_CD_ON_NONE
60 bool "No_DTR_RI_DSR_CD"
62 config ETRAX_SER0_DTR_RI_DSR_CD_ON_PA
63 bool "DTR_RI_DSR_CD_on_PA"
65 config ETRAX_SER0_DTR_RI_DSR_CD_ON_PB
66 bool "DTR_RI_DSR_CD_on_PB"
68 Enables the status and control signals DTR, RI, DSR and CD on PB for
71 config ETRAX_SER0_DTR_RI_DSR_CD_MIXED
72 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
76 config ETRAX_SER0_DTR_ON_PA_BIT
77 int "Ser0 DTR on PA bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
78 depends on ETRAX_SERIAL_PORT0
79 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
80 default "4" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
82 config ETRAX_SER0_RI_ON_PA_BIT
83 int "Ser0 RI on PA bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
84 depends on ETRAX_SERIAL_PORT0
85 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
86 default "5" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
88 config ETRAX_SER0_DSR_ON_PA_BIT
89 int "Ser0 DSR on PA bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
90 depends on ETRAX_SERIAL_PORT0
91 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
92 default "6" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
94 config ETRAX_SER0_CD_ON_PA_BIT
95 int "Ser0 CD on PA bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
96 depends on ETRAX_SERIAL_PORT0
97 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
98 default "7" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PA || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
100 config ETRAX_SER0_DTR_ON_PB_BIT
101 int "Ser0 DTR on PB bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
102 depends on ETRAX_SERIAL_PORT0
103 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
104 default "4" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
106 Specify the pin of the PB port to carry the DTR signal for serial
109 config ETRAX_SER0_RI_ON_PB_BIT
110 int "Ser0 RI on PB bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
111 depends on ETRAX_SERIAL_PORT0
112 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
113 default "5" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
115 Specify the pin of the PB port to carry the RI signal for serial
118 config ETRAX_SER0_DSR_ON_PB_BIT
119 int "Ser0 DSR on PB bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
120 depends on ETRAX_SERIAL_PORT0
121 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
122 default "6" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
124 Specify the pin of the PB port to carry the DSR signal for serial
127 config ETRAX_SER0_CD_ON_PB_BIT
128 int "Ser0 CD on PB bit (-1 = not used)" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
129 depends on ETRAX_SERIAL_PORT0
130 default "-1" if !ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER0_DTR_RI_DSR_CD_MIXED
131 default "7" if ETRAX_SER0_DTR_RI_DSR_CD_ON_PB || ETRAX_SER0_DTR_RI_DSR_CD_MIXED
133 Specify the pin of the PB port to carry the CD signal for serial
136 config ETRAX_SERIAL_PORT1
137 bool "Serial port 1 enabled"
138 depends on ETRAX_SERIAL
140 Enables the ETRAX 100 serial driver for ser1 (ttyS1).
143 prompt "Ser1 DTR, RI, DSR and CD assignment"
144 depends on ETRAX_SERIAL_PORT1
145 default ETRAX_SER1_DTR_RI_DSR_CD_ON_NONE
147 config ETRAX_SER1_DTR_RI_DSR_CD_ON_NONE
148 bool "No_DTR_RI_DSR_CD"
150 config ETRAX_SER1_DTR_RI_DSR_CD_ON_PA
151 bool "DTR_RI_DSR_CD_on_PA"
153 config ETRAX_SER1_DTR_RI_DSR_CD_ON_PB
154 bool "DTR_RI_DSR_CD_on_PB"
156 Enables the status and control signals DTR, RI, DSR and CD on PB for
159 config ETRAX_SER1_DTR_RI_DSR_CD_MIXED
160 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
164 config ETRAX_SER1_DTR_ON_PA_BIT
165 int "Ser1 DTR on PA bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
166 depends on ETRAX_SERIAL_PORT1
167 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
168 default "4" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
170 config ETRAX_SER1_RI_ON_PA_BIT
171 int "Ser1 RI on PA bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
172 depends on ETRAX_SERIAL_PORT1
173 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
174 default "5" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
176 config ETRAX_SER1_DSR_ON_PA_BIT
177 int "Ser1 DSR on PA bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
178 depends on ETRAX_SERIAL_PORT1
179 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
180 default "6" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
182 config ETRAX_SER1_CD_ON_PA_BIT
183 int "Ser1 CD on PA bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
184 depends on ETRAX_SERIAL_PORT1
185 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
186 default "7" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PA || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
188 config ETRAX_SER1_DTR_ON_PB_BIT
189 int "Ser1 DTR on PB bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
190 depends on ETRAX_SERIAL_PORT1
191 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
192 default "4" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
194 Specify the pin of the PB port to carry the DTR signal for serial
197 config ETRAX_SER1_RI_ON_PB_BIT
198 int "Ser1 RI on PB bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
199 depends on ETRAX_SERIAL_PORT1
200 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
201 default "5" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
203 Specify the pin of the PB port to carry the RI signal for serial
206 config ETRAX_SER1_DSR_ON_PB_BIT
207 int "Ser1 DSR on PB bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
208 depends on ETRAX_SERIAL_PORT1
209 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
210 default "6" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
212 Specify the pin of the PB port to carry the DSR signal for serial
215 config ETRAX_SER1_CD_ON_PB_BIT
216 int "Ser1 CD on PB bit (-1 = not used)" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
217 depends on ETRAX_SERIAL_PORT1
218 default "-1" if !ETRAX_SER1_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER1_DTR_RI_DSR_CD_MIXED
219 default "7" if ETRAX_SER1_DTR_RI_DSR_CD_ON_PB || ETRAX_SER1_DTR_RI_DSR_CD_MIXED
221 Specify the pin of the PB port to carry the CD signal for serial
224 comment "Make sure you do not have the same PB bits more than once!"
225 depends on ETRAX_SERIAL && ETRAX_SER0_DTR_RI_DSR_CD_ON_PB && ETRAX_SER1_DTR_RI_DSR_CD_ON_PB
227 config ETRAX_SERIAL_PORT2
228 bool "Serial port 2 enabled"
229 depends on ETRAX_SERIAL
231 Enables the ETRAX 100 serial driver for ser2 (ttyS2).
234 prompt "Ser2 DTR, RI, DSR and CD assignment"
235 depends on ETRAX_SERIAL_PORT2
236 default ETRAX_SER2_DTR_RI_DSR_CD_ON_NONE
238 config ETRAX_SER2_DTR_RI_DSR_CD_ON_NONE
239 bool "No_DTR_RI_DSR_CD"
241 config ETRAX_SER2_DTR_RI_DSR_CD_ON_PA
242 bool "DTR_RI_DSR_CD_on_PA"
244 Enables the status and control signals DTR, RI, DSR and CD on PA for
247 config ETRAX_SER2_DTR_RI_DSR_CD_ON_PB
248 bool "DTR_RI_DSR_CD_on_PB"
250 config ETRAX_SER2_DTR_RI_DSR_CD_MIXED
251 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
255 config ETRAX_SER2_DTR_ON_PA_BIT
256 int "Ser2 DTR on PA bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
257 depends on ETRAX_SERIAL_PORT2
258 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
259 default "4" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
261 Specify the pin of the PA port to carry the DTR signal for serial
264 config ETRAX_SER2_RI_ON_PA_BIT
265 int "Ser2 RI on PA bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
266 depends on ETRAX_SERIAL_PORT2
267 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
268 default "5" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
270 Specify the pin of the PA port to carry the RI signal for serial
273 config ETRAX_SER2_DSR_ON_PA_BIT
274 int "Ser2 DSR on PA bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
275 depends on ETRAX_SERIAL_PORT2
276 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
277 default "6" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
279 Specify the pin of the PA port to carry the DTR signal for serial
282 config ETRAX_SER2_CD_ON_PA_BIT
283 int "Ser2 CD on PA bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
284 depends on ETRAX_SERIAL_PORT2
285 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PA && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
286 default "7" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PA || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
288 Specify the pin of the PA port to carry the CD signal for serial
291 config ETRAX_SER2_DTR_ON_PB_BIT
292 int "Ser2 DTR on PB bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
293 depends on ETRAX_SERIAL_PORT2
294 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
295 default "4" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
297 config ETRAX_SER2_RI_ON_PB_BIT
298 int "Ser2 RI on PB bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
299 depends on ETRAX_SERIAL_PORT2
300 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
301 default "5" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
303 config ETRAX_SER2_DSR_ON_PB_BIT
304 int "Ser2 DSR on PB bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
305 depends on ETRAX_SERIAL_PORT2
306 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
307 default "6" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
309 config ETRAX_SER2_CD_ON_PB_BIT
310 int "Ser2 CD on PB bit (-1 = not used)" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
311 depends on ETRAX_SERIAL_PORT2
312 default "-1" if !ETRAX_SER2_DTR_RI_DSR_CD_ON_PB && !ETRAX_SER2_DTR_RI_DSR_CD_MIXED
313 default "7" if ETRAX_SER2_DTR_RI_DSR_CD_ON_PB || ETRAX_SER2_DTR_RI_DSR_CD_MIXED
315 config ETRAX_SERIAL_PORT3
316 bool "Serial port 3 enabled"
317 depends on ETRAX_SERIAL
319 Enables the ETRAX 100 serial driver for ser3 (ttyS3).
322 prompt "Ser3 DTR, RI, DSR and CD assignment"
323 depends on ETRAX_SERIAL_PORT3
324 default ETRAX_SER3_DTR_RI_DSR_CD_ON_NONE
326 config ETRAX_SER3_DTR_RI_DSR_CD_ON_NONE
327 bool "No_DTR_RI_DSR_CD"
329 config ETRAX_SER3_DTR_RI_DSR_CD_ON_PA
330 bool "DTR_RI_DSR_CD_on_PA"
332 config ETRAX_SER3_DTR_RI_DSR_CD_ON_PB
333 bool "DTR_RI_DSR_CD_on_PB"
335 config ETRAX_SER3_DTR_RI_DSR_CD_MIXED
336 bool "DTR_RI_DSR_CD_mixed_on_PA_and_PB"
340 config ETRAX_SER3_DTR_ON_PA_BIT
341 int "Ser3 DTR on PA bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PA || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
342 depends on ETRAX_SERIAL_PORT3
345 config ETRAX_SER3_RI_ON_PA_BIT
346 int "Ser3 RI on PA bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PA || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
347 depends on ETRAX_SERIAL_PORT3
350 config ETRAX_SER3_DSR_ON_PA_BIT
351 int "Ser3 DSR on PA bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PA || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
352 depends on ETRAX_SERIAL_PORT3
355 config ETRAX_SER3_CD_ON_PA_BIT
356 int "Ser3 CD on PA bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PA || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
357 depends on ETRAX_SERIAL_PORT3
360 config ETRAX_SER3_DTR_ON_PB_BIT
361 int "Ser3 DTR on PB bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PB || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
362 depends on ETRAX_SERIAL_PORT3
365 config ETRAX_SER3_RI_ON_PB_BIT
366 int "Ser3 RI on PB bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PB || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
367 depends on ETRAX_SERIAL_PORT3
370 config ETRAX_SER3_DSR_ON_PB_BIT
371 int "Ser3 DSR on PB bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PB || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
372 depends on ETRAX_SERIAL_PORT3
375 config ETRAX_SER3_CD_ON_PB_BIT
376 int "Ser3 CD on PB bit (-1 = not used)" if ETRAX_SER3_DTR_RI_DSR_CD_ON_PB || ETRAX_SER3_DTR_RI_DSR_CD_MIXED
377 depends on ETRAX_SERIAL_PORT3
381 bool "RS-485 support"
382 depends on ETRAX_SERIAL
384 Enables support for RS-485 serial communication. For a primer on
385 RS-485, see <http://en.wikipedia.org/wiki/Rs485>
387 config ETRAX_RS485_ON_PA
388 bool "RS-485 mode on PA"
389 depends on ETRAX_RS485
391 Control Driver Output Enable on RS485 transceiver using a pin on PA
393 Axis 2400/2401 uses PA 3.
395 config ETRAX_RS485_ON_PA_BIT
396 int "RS-485 mode on PA bit"
397 depends on ETRAX_RS485_ON_PA
400 Control Driver Output Enable on RS485 transceiver using a this bit
403 config ETRAX_RS485_DISABLE_RECEIVER
404 bool "Disable serial receiver"
405 depends on ETRAX_RS485
407 It's necessary to disable the serial receiver to avoid serial
408 loopback. Not all products are able to do this in software only.
409 Axis 2400/2401 must disable receiver.
411 config ETRAX_USB_HOST
415 This option enables the host functionality of the ETRAX 100LX
416 built-in USB controller. In host mode the controller is designed
417 for CTRL and BULK traffic only, INTR traffic may work as well
418 however (depending on the requirements of timeliness).
420 config ETRAX_PTABLE_SECTOR
421 int "Byte-offset of partition table sector"
422 depends on ETRAX_AXISFLASHMAP
425 Byte-offset of the partition table in the first flash chip.
426 The default value is 64kB and should not be changed unless
427 you know exactly what you are doing. The only valid reason
428 for changing this is when the flash block size is bigger
429 than 64kB (e.g. when using two parallel 16 bit flashes).
433 depends on ETRAX_ARCH_V10
435 Enables an I2C driver on ETRAX100.
437 i2c_arg = I2C_WRITEARG(STA013_WRITE_ADDR, reg, val);
438 ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_WRITEREG), i2c_arg);
439 i2c_arg = I2C_READARG(STA013_READ_ADDR, reg);
440 val = ioctl(fd, _IO(ETRAXI2C_IOCTYPE, I2C_READREG), i2c_arg);
442 # this is true for most products since PB-I2C seems to be somewhat
444 config ETRAX_I2C_USES_PB_NOT_PB_I2C
445 bool "I2C uses PB not PB-I2C"
448 Select whether to use the special I2C mode in the PB I/O register or
449 not. This option needs to be selected in order to use some drivers
450 that access the I2C I/O pins directly instead of going through the
451 I2C driver, like the DS1302 realtime-clock driver. If you are
452 uncertain, choose Y here.
454 config ETRAX_I2C_DATA_PORT
455 int "I2C SDA bit number"
456 depends on ETRAX_I2C_USES_PB_NOT_PB_I2C
459 Selects the pin on Port B where the data pin is connected
461 config ETRAX_I2C_CLK_PORT
462 int "I2C SCL bit number"
463 depends on ETRAX_I2C_USES_PB_NOT_PB_I2C
466 Select the pin on Port B where the clock pin is connected
468 config ETRAX_I2C_EEPROM
469 bool "I2C EEPROM (non-volatile RAM) support"
472 Enables I2C EEPROM (non-volatile RAM) on PB0 and PB1 using the I2C
473 driver. Select size option: Probed, 2k, 8k, 16k.
474 (Probing works for 2k and 8k but not that well for 16k)
478 depends on ETRAX_I2C_EEPROM
479 default ETRAX_I2C_EEPROM_PROBE
481 config ETRAX_I2C_EEPROM_PROBE
484 Specifies size or auto probe of the EEPROM size.
485 Options: Probed, 2k, 8k, 16k.
486 (Probing works for 2k and 8k but not that well for 16k)
488 config ETRAX_I2C_EEPROM_2KB
493 config ETRAX_I2C_EEPROM_8KB
498 config ETRAX_I2C_EEPROM_16KB
507 depends on ETRAX_ARCH_V10
509 Enables the ETRAX general port device (major 120, minors 0 and 1).
510 You can use this driver to access the general port bits. It supports
512 #include <linux/etraxgpio.h>
513 fd = open("/dev/gpioa", O_RDWR); // or /dev/gpiob
514 ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_SETBITS), bits_to_set);
515 ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_CLRBITS), bits_to_clear);
516 val = ioctl(fd, _IO(ETRAXGPIO_IOCTYPE, IO_READBITS), NULL);
517 Remember that you need to setup the port directions appropriately in
518 the General configuration.
520 config ETRAX_PA_CHANGEABLE_DIR
521 hex "PA user changeable dir mask"
522 depends on ETRAX_GPIO
525 This is a bitmask with information of what bits in PA that a user
526 can change direction on using ioctl's.
527 Bit set = changeable.
528 You probably want 00 here.
530 config ETRAX_PA_CHANGEABLE_BITS
531 hex "PA user changeable bits mask"
532 depends on ETRAX_GPIO
535 This is a bitmask with information of what bits in PA that a user
536 can change the value on using ioctl's.
537 Bit set = changeable.
538 You probably want 00 here.
540 config ETRAX_PB_CHANGEABLE_DIR
541 hex "PB user changeable dir mask"
542 depends on ETRAX_GPIO
545 This is a bitmask with information of what bits in PB that a user
546 can change direction on using ioctl's.
547 Bit set = changeable.
548 You probably want 00 here.
550 config ETRAX_PB_CHANGEABLE_BITS
551 hex "PB user changeable bits mask"
552 depends on ETRAX_GPIO
555 This is a bitmask with information of what bits in PB that a user
556 can change the value on using ioctl's.
557 Bit set = changeable.
558 You probably want 00 here.