comparison packages/io/serial/current/include/pkgconf/io_serial.h @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents
children 1d7f19c9e4d1
comparison
equal deleted inserted replaced
1:72f549f0d891 2:443894e2e912
1 #ifndef CYGONCE_PKGCONF_IO_SERIAL_H
2 #define CYGONCE_PKGCONF_IO_SERIAL_H
3 // ====================================================================
4 //
5 // pkgconf/io_serial.h
6 //
7 // Device configuration file
8 //
9 // ====================================================================
10 //####COPYRIGHTBEGIN####
11 //
12 // -------------------------------------------
13 // The contents of this file are subject to the Cygnus eCos Public License
14 // Version 1.0 (the "License"); you may not use this file except in
15 // compliance with the License. You may obtain a copy of the License at
16 // http://sourceware.cygnus.com/ecos
17 //
18 // Software distributed under the License is distributed on an "AS IS"
19 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
20 // License for the specific language governing rights and limitations under
21 // the License.
22 //
23 // The Original Code is eCos - Embedded Cygnus Operating System, released
24 // September 30, 1998.
25 //
26 // The Initial Developer of the Original Code is Cygnus. Portions created
27 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
28 // -------------------------------------------
29 //
30 //####COPYRIGHTEND####
31 // ====================================================================
32 //#####DESCRIPTIONBEGIN####
33 //
34 // Author(s): gthomas
35 // Contributors: gthomas
36 // Date: 1999-02-04
37 // Purpose: To allow the user to edit device configuration options.
38 // Description:
39 //
40 //####DESCRIPTIONEND####
41 //
42 // ====================================================================
43
44 #include <pkgconf/system.h>
45
46 /* ----------------------------------------------------------------------------
47 {{CFG_DATA
48
49 cdl_package CYGPKG_IO_SERIAL {
50 display "Serial device drivers"
51 type bool
52 requires CYGPKG_IO
53 parent CYGPKG_IO
54 description "
55 This option enables drivers for basic I/O services on
56 serial devices."
57 doc ref/ecos-ref/ecos-device-drivers.html
58 }
59 }}CFG_DATA */
60
61 /* ----------------------------------------------------------------------------
62 {{CFG_DATA
63 cdl_component CYGPKG_IO_SERIAL_TTY {
64 display "TTY-mode serial device drivers"
65 type bool
66 requires CYGPKG_IO_SERIAL
67 description "
68 This option enables the terminal-like device driver
69 used for serial devices that interact with humans,
70 such as a system console."
71 doc ref/ecos-ref/ecos-device-drivers.html
72 }
73
74 cdl_option CYGDAT_IO_SERIAL_TTY_CONSOLE {
75 display "Console device name"
76 type string
77 requires CYGPKG_IO_SERIAL_TTY
78 description "
79 This option selects the TTY device to use for the console."
80 doc ref/ecos-ref/ecos-device-drivers.html
81 }
82
83 }}CFG_DATA */
84
85 #define CYGPKG_IO_SERIAL_TTY
86 #define CYGDAT_IO_SERIAL_TTY_CONSOLE "/dev/ttydiag"
87
88 /* ----------------------------------------------------------------------------
89 {{CFG_DATA
90 cdl_component CYGPKG_IO_SERIAL_HALDIAG {
91 display "HAL/diag serial device driver"
92 type bool
93 requires CYGPKG_IO_SERIAL_TTY
94 parent CYGPKG_IO_SERIAL_TTY
95 description "
96 This option enables the use of the HAL diagnostic channel
97 via the standard I/O drivers."
98 doc ref/ecos-ref/ecos-device-drivers.html
99 }
100
101 }}CFG_DATA */
102
103 #define CYGPKG_IO_SERIAL_HALDIAG
104
105
106 /* ----------------------------------------------------------------------------
107 {{CFG_DATA
108 cdl_component CYGPKG_IO_SERIAL_TTY_TTYDIAG {
109 display "TTY mode HAL/diag channel"
110 type bool
111 requires CYGPKG_IO_SERIAL_TTY
112 parent CYGPKG_IO_SERIAL_TTY
113 description "
114 This option causes '/dev/ttydiag' to be included in the standard drivers."
115 doc ref/ecos-ref/ecos-device-drivers.html
116 }
117
118 cdl_component CYGPKG_IO_SERIAL_TTY_TTY0 {
119 display "TTY mode channel #0"
120 type bool
121 requires CYGPKG_IO_SERIAL_TTY
122 parent CYGPKG_IO_SERIAL_TTY
123 description "
124 This option causes '/dev/tty0' to be included in the standard drivers."
125 doc ref/ecos-ref/ecos-device-drivers.html
126 }
127
128 cdl_option CYGDAT_IO_SERIAL_TTY_TTY0_DEV {
129 display "TTY mode channel #0 device"
130 type string
131 requires CYGPKG_IO_SERIAL_TTY_TTY0
132 description "
133 This option selects the physical device to use for '/dev/tty0'."
134 doc ref/ecos-ref/ecos-device-drivers.html
135 }
136
137 cdl_component CYGPKG_IO_SERIAL_TTY_TTY1 {
138 display "TTY mode channel #1"
139 type bool
140 requires CYGPKG_IO_SERIAL_TTY
141 parent CYGPKG_IO_SERIAL_TTY
142 description "
143 This option causes '/dev/tty1' to be included in the standard drivers."
144 doc ref/ecos-ref/ecos-device-drivers.html
145 }
146
147 cdl_option CYGDAT_IO_SERIAL_TTY_TTY1_DEV {
148 display "TTY mode channel #1 device"
149 type string
150 requires CYGPKG_IO_SERIAL_TTY_TTY1
151 description "
152 This option selects the physical device to use for '/dev/tty1'."
153 doc ref/ecos-ref/ecos-device-drivers.html
154 }
155
156 cdl_component CYGPKG_IO_SERIAL_TTY_TTY2 {
157 display "TTY mode channel #2"
158 type bool
159 requires CYGPKG_IO_SERIAL_TTY
160 parent CYGPKG_IO_SERIAL_TTY
161 description "
162 This option causes '/dev/tty2' to be included in the standard drivers."
163 doc ref/ecos-ref/ecos-device-drivers.html
164 }
165
166 cdl_option CYGDAT_IO_SERIAL_TTY_TTY2_DEV {
167 display "TTY mode channel #2 device"
168 type string
169 requires CYGPKG_IO_SERIAL_TTY_TTY2
170 description "
171 This option selects the physical device to use for '/dev/tty2'."
172 doc ref/ecos-ref/ecos-device-drivers.html
173 }
174
175 }}CFG_DATA */
176
177 #define CYGPKG_IO_SERIAL_TTY_TTYDIAG
178 #undef CYGPKG_IO_SERIAL_TTY_TTY0
179 #define CYGDAT_IO_SERIAL_TTY_TTY0_DEV "/dev/ser0"
180 #undef CYGPKG_IO_SERIAL_TTY_TTY1
181 #define CYGDAT_IO_SERIAL_TTY_TTY1_DEV "/dev/ser1"
182 #undef CYGPKG_IO_SERIAL_TTY_TTY2
183 #define CYGDAT_IO_SERIAL_TTY_TTY2_DEV "/dev/ser2"
184
185 /* ----------------------------------------------------------------------------
186 {{CFG_DATA
187 cdl_component CYGPKG_IO_SERIAL_ARM_PID {
188 display "ARM PID serial device drivers"
189 type bool
190 requires CYGPKG_IO_SERIAL
191 # parent CYGPKG_IO_SERIAL
192 parent CYGPKG_HAL_ARM_PID
193 description "
194 This option enables the serial device drivers for the ARM PID."
195 doc ref/ecos-ref/ecos-device-drivers.html
196 }
197
198 cdl_component CYGPKG_IO_SERIAL_ARM_PID_SERIAL0 {
199 display "ARM PID serial port 0 driver"
200 type bool
201 parent CYGPKG_IO_SERIAL_ARM_PID
202 description "
203 This option includes the serial device driver for the ARM PID port 0."
204 doc ref/ecos-ref/ecos-device-drivers.html
205 }
206
207 cdl_option CYGDAT_IO_SERIAL_ARM_PID_SERIAL0_NAME {
208 display "Device name for ARM PID serial port 0 driver"
209 type string
210 parent CYGPKG_IO_SERIAL_ARM_PID_SERIAL0
211 description "
212 This option specifies the name of the serial device for the ARM PID port 0."
213 doc ref/ecos-ref/ecos-device-drivers.html
214 }
215
216 cdl_option CYGNUM_IO_SERIAL_ARM_PID_SERIAL0_BAUD {
217 display "Baud rate for the ARM PID serial port 0 driver"
218 type enum
219 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
220 parent CYGPKG_IO_SERIAL_ARM_PID_SERIAL0
221 description "
222 This option specifies the default baud rate (speed) for the ARM PID port 0."
223 doc ref/ecos-ref/ecos-device-drivers.html
224 }
225
226 cdl_option CYGNUM_IO_SERIAL_ARM_PID_SERIAL0_BUFSIZE {
227 display "Buffer size for the ARM PID serial port 0 driver"
228 type count
229 legal_values 0 to 8192
230 parent CYGPKG_IO_SERIAL_ARM_PID_SERIAL0
231 description "
232 This option specifies the size of the internal buffers used for the ARM PID port 0."
233 doc ref/ecos-ref/ecos-device-drivers.html
234 }
235
236 cdl_component CYGPKG_IO_SERIAL_ARM_PID_SERIAL1 {
237 display "ARM PID serial port 1 driver"
238 type bool
239 parent CYGPKG_IO_SERIAL_ARM_PID
240 description "
241 This option includes the serial device driver for the ARM PID port 1."
242 doc ref/ecos-ref/ecos-device-drivers.html
243 }
244
245 cdl_option CYGDAT_IO_SERIAL_ARM_PID_SERIAL1_NAME {
246 display "Device name for ARM PID serial port 1 driver"
247 type string
248 parent CYGPKG_IO_SERIAL_ARM_PID_SERIAL1
249 description "
250 This option specifies the name of the serial device for the ARM PID port 1."
251 doc ref/ecos-ref/ecos-device-drivers.html
252 }
253
254 cdl_option CYGNUM_IO_SERIAL_ARM_PID_SERIAL1_BAUD {
255 display "Baud rate for the ARM PID serial port 1 driver"
256 type enum
257 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
258 parent CYGPKG_IO_SERIAL_ARM_PID_SERIAL1
259 description "
260 This option specifies the default baud rate (speed) for the ARM PID port 1."
261 doc ref/ecos-ref/ecos-device-drivers.html
262 }
263
264 cdl_option CYGNUM_IO_SERIAL_ARM_PID_SERIAL1_BUFSIZE {
265 display "Buffer size for the ARM PID serial port 1 driver"
266 type count
267 legal_values 0 to 8192
268 parent CYGPKG_IO_SERIAL_ARM_PID_SERIAL1
269 description "
270 This option specifies the size of the internal buffers used for the ARM PID port 1."
271 doc ref/ecos-ref/ecos-device-drivers.html
272 }
273
274 }}CFG_DATA */
275
276 #undef CYGPKG_IO_SERIAL_ARM_PID
277 #undef CYGPKG_IO_SERIAL_ARM_PID_SERIAL0
278 #define CYGDAT_IO_SERIAL_ARM_PID_SERIAL0_NAME "/dev/ser0"
279 #define CYGNUM_IO_SERIAL_ARM_PID_SERIAL0_BAUD 38400
280 #define CYGNUM_IO_SERIAL_ARM_PID_SERIAL0_BUFSIZE 128
281 #define CYGPKG_IO_SERIAL_ARM_PID_SERIAL1
282 #define CYGDAT_IO_SERIAL_ARM_PID_SERIAL1_NAME "/dev/ser1"
283 #define CYGNUM_IO_SERIAL_ARM_PID_SERIAL1_BAUD 38400
284 #define CYGNUM_IO_SERIAL_ARM_PID_SERIAL1_BUFSIZE 128
285
286 /* ----------------------------------------------------------------------------
287 {{CFG_DATA
288 cdl_component CYGPKG_IO_SERIAL_ARM_AEB {
289 display "ARM AEB-1 serial device drivers"
290 type bool
291 requires CYGPKG_IO_SERIAL
292 # parent CYGPKG_IO_SERIAL
293 parent CYGPKG_HAL_ARM_AEB
294 description "
295 This option enables the serial device drivers for the ARM AEB-1."
296 doc ref/ecos-ref/ecos-device-drivers.html
297 }
298
299 cdl_component CYGPKG_IO_SERIAL_ARM_AEB_SERIAL0 {
300 display "ARM AEB-1 serial port 0 driver"
301 type bool
302 parent CYGPKG_IO_SERIAL_ARM_AEB
303 description "
304 This option includes the serial device driver for the ARM AEB-1 port 0."
305 doc ref/ecos-ref/ecos-device-drivers.html
306 }
307
308 cdl_option CYGDAT_IO_SERIAL_ARM_AEB_SERIAL0_NAME {
309 display "Device name for the ARM AEB-1 serial port 0 driver"
310 type string
311 parent CYGPKG_IO_SERIAL_ARM_AEB_SERIAL0
312 description "
313 This option sets the name of the serial device for the ARM AEB-1 port 0."
314 doc ref/ecos-ref/ecos-device-drivers.html
315 }
316
317 cdl_option CYGNUM_IO_SERIAL_ARM_AEB_SERIAL0_BAUD {
318 display "Baud rate for the ARM AEB-1 serial port 0 driver"
319 type enum
320 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
321 parent CYGPKG_IO_SERIAL_ARM_AEB_SERIAL0
322 description "
323 This option specifies the default baud rate (speed) for the ARM AEB-1 port 0."
324 doc ref/ecos-ref/ecos-device-drivers.html
325 }
326
327 cdl_option CYGNUM_IO_SERIAL_ARM_AEB_SERIAL0_BUFSIZE {
328 display "Buffer size for the ARM AEB-1 serial port 0 driver"
329 type count
330 legal_values 0 to 8192
331 parent CYGPKG_IO_SERIAL_ARM_AEB_SERIAL0
332 description "
333 This option specifies the size of the internal buffers used for the ARM AEB-1 port 0."
334 doc ref/ecos-ref/ecos-device-drivers.html
335 }
336
337 cdl_component CYGPKG_IO_SERIAL_ARM_AEB_SERIAL1 {
338 display "ARM AEB-1 serial port 1 driver"
339 type bool
340 parent CYGPKG_IO_SERIAL_ARM_AEB
341 description "
342 This option includes the serial device driver for the ARM AEB-1 port 1."
343 doc ref/ecos-ref/ecos-device-drivers.html
344 }
345
346 cdl_option CYGDAT_IO_SERIAL_ARM_AEB_SERIAL1_NAME {
347 display "Device name for the ARM AEB-1 serial port 1 driver"
348 type string
349 parent CYGPKG_IO_SERIAL_ARM_AEB_SERIAL1
350 description "
351 This option specifies the name of serial device for the ARM AEB-1 port 1."
352 doc ref/ecos-ref/ecos-device-drivers.html
353 }
354
355 cdl_option CYGNUM_IO_SERIAL_ARM_AEB_SERIAL1_BAUD {
356 display "Baud rate for the ARM AEB-1 serial port 1 driver"
357 type enum
358 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
359 parent CYGPKG_IO_SERIAL_ARM_AEB_SERIAL1
360 description "
361 This option specifies the default baud rate (speed) for the ARM AEB-1 port 1."
362 doc ref/ecos-ref/ecos-device-drivers.html
363 }
364
365 cdl_option CYGNUM_IO_SERIAL_ARM_AEB_SERIAL1_BUFSIZE {
366 display "Buffer size for the ARM AEB-1 serial port 1 driver"
367 type count
368 legal_values 0 to 8192
369 parent CYGPKG_IO_SERIAL_ARM_AEB_SERIAL1
370 description "
371 This option specifies the size of the internal buffers used for the ARM AEB-1 port 1."
372 doc ref/ecos-ref/ecos-device-drivers.html
373 }
374
375 }}CFG_DATA */
376 #undef CYGPKG_IO_SERIAL_ARM_AEB
377 #undef CYGPKG_IO_SERIAL_ARM_AEB_SERIAL0
378 #define CYGDAT_IO_SERIAL_ARM_AEB_SERIAL0_NAME "/dev/ser0"
379 #define CYGNUM_IO_SERIAL_ARM_AEB_SERIAL0_BAUD 38400
380 #define CYGNUM_IO_SERIAL_ARM_AEB_SERIAL0_BUFSIZE 128
381 #undef CYGPKG_IO_SERIAL_ARM_AEB_SERIAL1
382 #define CYGDAT_IO_SERIAL_ARM_AEB_SERIAL1_NAME "/dev/ser1"
383 #define CYGNUM_IO_SERIAL_ARM_AEB_SERIAL1_BAUD 38400
384 #define CYGNUM_IO_SERIAL_ARM_AEB_SERIAL1_BUFSIZE 128
385
386
387 /* ----------------------------------------------------------------------------
388 {{CFG_DATA
389 cdl_component CYGPKG_IO_SERIAL_POWERPC_COGENT {
390 display "Cogent PowerPC serial device drivers"
391 type bool
392 requires CYGPKG_IO_SERIAL
393 # parent CYGPKG_IO_SERIAL
394 parent CYGPKG_HAL_POWERPC_COGENT
395 description "
396 This option enables the serial device drivers for the Cogent PowerPC."
397 doc ref/ecos-ref/ecos-device-drivers.html
398 }
399
400 cdl_component CYGPKG_IO_SERIAL_POWERPC_COGENT_SERIAL_A {
401 display "Cogent PowerPC serial port A driver"
402 type bool
403 requires CYGPKG_IO_SERIAL
404 parent CYGPKG_IO_SERIAL_POWERPC_COGENT
405 description "
406 This option includes the serial device driver for the Cogent PowerPC port A."
407 doc ref/ecos-ref/ecos-device-drivers.html
408 }
409
410 cdl_option CYGDAT_IO_SERIAL_POWERPC_COGENT_SERIAL_A_NAME {
411 display "Device name for Cogent PowerPC serial port A"
412 type string
413 requires CYGPKG_IO_SERIAL
414 parent CYGPKG_IO_SERIAL_POWERPC_COGENT_SERIAL_A
415 description "
416 This option specifies the device name for the Cogent PowerPC port A."
417 doc ref/ecos-ref/ecos-device-drivers.html
418 }
419
420 cdl_option CYGNUM_IO_SERIAL_POWERPC_COGENT_SERIAL_A_BAUD {
421 display "Baud rate for the Cogent PowerPC serial port A driver"
422 type enum
423 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
424 parent CYGPKG_IO_SERIAL_POWERPC_COGENT_SERIAL_A
425 description "
426 This option specifies the default baud rate (speed) for the Cogent PowerPC port A."
427 doc ref/ecos-ref/ecos-device-drivers.html
428 }
429
430 cdl_option CYGNUM_IO_SERIAL_POWERPC_COGENT_SERIAL_A_BUFSIZE {
431 display "Buffer size for the Cogent PowerPC serial port A driver"
432 type count
433 legal_values 0 to 8192
434 parent CYGPKG_IO_SERIAL_POWERPC_COGENT_SERIAL_A
435 description "
436 This option specifies the size of the internal buffers used for the Cogent PowerPC port A."
437 doc ref/ecos-ref/ecos-device-drivers.html
438 }
439
440 cdl_component CYGPKG_IO_SERIAL_POWERPC_COGENT_SERIAL_B {
441 display "Cogent PowerPC serial port B driver"
442 type bool
443 requires CYGPKG_IO_SERIAL
444 parent CYGPKG_IO_SERIAL_POWERPC_COGENT
445 description "
446 This option includes the serial device driver for the Cogent PowerPC port B."
447 doc ref/ecos-ref/ecos-device-drivers.html
448 }
449
450 cdl_option CYGDAT_IO_SERIAL_POWERPC_COGENT_SERIAL_B_NAME {
451 display "Device name for Cogent PowerPC serial port B"
452 type string
453 requires CYGPKG_IO_SERIAL
454 parent CYGPKG_IO_SERIAL_POWERPC_COGENT_SERIAL_B
455 description "
456 This option specifies the device name for the Cogent PowerPC port B."
457 doc ref/ecos-ref/ecos-device-drivers.html
458 }
459
460 cdl_option CYGNUM_IO_SERIAL_POWERPC_COGENT_SERIAL_B_BAUD {
461 display "Baud rate for the Cogent PowerPC serial port B driver"
462 type enum
463 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
464 parent CYGPKG_IO_SERIAL_POWERPC_COGENT_SERIAL_B
465 description "
466 This option specifies the default baud rate (speed) for the Cogent PowerPC port B."
467 doc ref/ecos-ref/ecos-device-drivers.html
468 }
469
470 cdl_option CYGNUM_IO_SERIAL_POWERPC_COGENT_SERIAL_B_BUFSIZE {
471 display "Buffer size for the Cogent PowerPC serial port B driver"
472 type count
473 legal_values 0 to 8192
474 parent CYGPKG_IO_SERIAL_POWERPC_COGENT_SERIAL_B
475 description "
476 This option specifies the size of the internal buffers used for the Cogent PowerPC port B."
477 doc ref/ecos-ref/ecos-device-drivers.html
478 }
479
480 }}CFG_DATA */
481 #undef CYGPKG_IO_SERIAL_POWERPC_COGENT
482 // Only enable both ports if interrupt chaining is enabled.
483 #undef CYGPKG_IO_SERIAL_POWERPC_COGENT_SERIAL_A
484 #define CYGDAT_IO_SERIAL_POWERPC_COGENT_SERIAL_A_NAME "/dev/ser1"
485 #define CYGNUM_IO_SERIAL_POWERPC_COGENT_SERIAL_A_BAUD 38400
486 #define CYGNUM_IO_SERIAL_POWERPC_COGENT_SERIAL_A_BUFSIZE 128
487 #define CYGPKG_IO_SERIAL_POWERPC_COGENT_SERIAL_B
488 #define CYGDAT_IO_SERIAL_POWERPC_COGENT_SERIAL_B_NAME "/dev/ser2"
489 #define CYGNUM_IO_SERIAL_POWERPC_COGENT_SERIAL_B_BAUD 38400
490 #define CYGNUM_IO_SERIAL_POWERPC_COGENT_SERIAL_B_BUFSIZE 128
491
492 /* ----------------------------------------------------------------------------
493 {{CFG_DATA
494 cdl_component CYGPKG_IO_SERIAL_SPARCLITE_SLEB {
495 display "SPARClite SLEB serial device drivers"
496 type bool
497 requires CYGPKG_IO_SERIAL
498 # parent CYGPKG_IO_SERIAL
499 parent CYGPKG_HAL_SPARCLITE_SLEB
500 description "
501 This option enables the serial device drivers for the SPARClite SLEB."
502 doc ref/ecos-ref/ecos-device-drivers.html
503 }
504
505 cdl_component CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON1 {
506 display "SPARClite SLEB serial CON1 port driver"
507 type bool
508 requires CYGPKG_IO_SERIAL
509 parent CYGPKG_IO_SERIAL_SPARCLITE_SLEB
510 description "
511 This option includes the serial device driver for the SPARClite SLEB CON1 port."
512 doc ref/ecos-ref/ecos-device-drivers.html
513 }
514
515 cdl_option CYGDAT_IO_SERIAL_SPARCLITE_SLEB_CON1_NAME {
516 display "Device name for SPARClite SLEB serial CON1 port"
517 type string
518 requires CYGPKG_IO_SERIAL
519 parent CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON1
520 description "
521 This option specifies the device name for the SPARClite SLEB CON1 port."
522 doc ref/ecos-ref/ecos-device-drivers.html
523 }
524
525 cdl_option CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON1_BAUD {
526 display "Baud rate for the SPARClite SLEB serial CON1 driver"
527 type enum
528 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
529 parent CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON1
530 description "
531 This option specifies the default baud rate (speed) for the SPARClite SLEB CON1."
532 doc ref/ecos-ref/ecos-device-drivers.html
533 }
534
535 cdl_option CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON1_BUFSIZE {
536 display "Buffer size for the SPARClite SLEB serial CON1 driver"
537 type count
538 legal_values 0 to 8192
539 parent CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON1
540 description "
541 This option specifies the size of the internal buffers used for the SPARClite SLEB CON1."
542 doc ref/ecos-ref/ecos-device-drivers.html
543 }
544
545 cdl_component CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON2 {
546 display "SPARClite SLEB serial CON2 port driver"
547 type bool
548 requires CYGPKG_IO_SERIAL
549 parent CYGPKG_IO_SERIAL_SPARCLITE_SLEB
550 description "
551 This option includes the serial device driver for the SPARClite SLEB CON2 port."
552 doc ref/ecos-ref/ecos-device-drivers.html
553 }
554
555 cdl_option CYGDAT_IO_SERIAL_SPARCLITE_SLEB_CON2_NAME {
556 display "Device name for SPARClite SLEB serial CON2 port"
557 type string
558 requires CYGPKG_IO_SERIAL
559 parent CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON2
560 description "
561 This option specifies the device name for the SPARClite SLEB CON2 port."
562 doc ref/ecos-ref/ecos-device-drivers.html
563 }
564
565 cdl_option CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON2_BAUD {
566 display "Baud rate for the SPARClite SLEB serial CON2 driver"
567 type enum
568 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
569 parent CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON2
570 description "
571 This option specifies the default baud rate (speed) for the SPARClite SLEB CON2."
572 doc ref/ecos-ref/ecos-device-drivers.html
573 }
574
575 cdl_option CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON2_BUFSIZE {
576 display "Buffer size for the SPARClite SLEB serial CON2 driver"
577 type count
578 legal_values 0 to 8192
579 parent CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON2
580 description "
581 This option specifies the size of the internal buffers used for the SPARClite SLEB CON2."
582 doc ref/ecos-ref/ecos-device-drivers.html
583 }
584
585 }}CFG_DATA */
586 #undef CYGPKG_IO_SERIAL_SPARCLITE_SLEB
587 #undef CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON1
588 #define CYGDAT_IO_SERIAL_SPARCLITE_SLEB_CON1_NAME "/dev/ser0"
589 #define CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON1_BAUD 19200
590 #define CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON1_BUFSIZE 128
591 #undef CYGPKG_IO_SERIAL_SPARCLITE_SLEB_CON2
592 #define CYGDAT_IO_SERIAL_SPARCLITE_SLEB_CON2_NAME "/dev/ser1"
593 #define CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON2_BAUD 19200
594 #define CYGNUM_IO_SERIAL_SPARCLITE_SLEB_CON2_BUFSIZE 128
595
596 /* ----------------------------------------------------------------------------
597 {{CFG_DATA
598 cdl_component CYGPKG_IO_SERIAL_TX39_JMR3904 {
599 display "TX39 JMR3904 serial device drivers"
600 type bool
601 requires CYGPKG_IO_SERIAL
602 # parent CYGPKG_IO_SERIAL
603 parent CYGPKG_HAL_TX39_JMR3904
604 description "
605 This option enables the serial device drivers for the TX39 JMR3904."
606 doc ref/ecos-ref/ecos-device-drivers.html
607 }
608
609 cdl_component CYGPKG_IO_SERIAL_TX39_JMR3904_POLLED_MODE {
610 display "TX39 JMR3904 polled mode serial drivers"
611 type bool
612 requires CYGPKG_IO_SERIAL
613 parent CYGPKG_IO_SERIAL_TX39_JMR3904
614 description "
615 If asserted, this option specifies that the serial device drivers for
616 the TX39 JMR3904 should be polled-mode instead of interrupt driven."
617 doc ref/ecos-ref/ecos-device-drivers.html
618 }
619
620 cdl_component CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL0 {
621 display "TX39 JMR3904 serial port 0 driver"
622 type bool
623 requires CYGPKG_IO_SERIAL
624 parent CYGPKG_IO_SERIAL_TX39_JMR3904
625 description "
626 This option includes the serial device driver for port 0 on the TX39 JMR3904."
627 doc ref/ecos-ref/ecos-device-drivers.html
628 }
629
630 cdl_option CYGDAT_IO_SERIAL_TX39_JMR3904_SERIAL0_NAME {
631 display "Device name for TX39 JMR3904 serial port 0"
632 type string
633 requires CYGPKG_IO_SERIAL
634 parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL0
635 description "
636 This option specifies the device name port 0 on the TX39 JMR3904."
637 doc ref/ecos-ref/ecos-device-drivers.html
638 }
639
640 cdl_option CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL0_BAUD {
641 display "Baud rate for the TX39 JMR3904 serial port 0 driver"
642 type enum
643 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
644 parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL0
645 description "
646 This option specifies the default baud rate (speed) for the TX39 JMR3904 port 0."
647 doc ref/ecos-ref/ecos-device-drivers.html
648 }
649
650 cdl_option CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL0_BUFSIZE {
651 display "Buffer size for the TX39 JMR3904 serial port 0 driver"
652 type count
653 legal_values 0 to 8192
654 parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL0
655 description "
656 This option specifies the size of the internal buffers used for the TX39 JMR3904 port 0."
657 doc ref/ecos-ref/ecos-device-drivers.html
658 }
659
660 cdl_component CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL1 {
661 display "TX39 JMR3904 serial port 1 driver"
662 type bool
663 requires CYGPKG_IO_SERIAL
664 parent CYGPKG_IO_SERIAL_TX39_JMR3904
665 description "
666 This option includes the serial device driver for port 1 on the TX39 JMR3904."
667 doc ref/ecos-ref/ecos-device-drivers.html
668 }
669
670 cdl_option CYGDAT_IO_SERIAL_TX39_JMR3904_SERIAL1_NAME {
671 display "Device name for TX39 JMR3904 serial port 1"
672 type string
673 requires CYGPKG_IO_SERIAL
674 parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL1
675 description "
676 This option specifies the device name port 1 on the TX39 JMR3904."
677 doc ref/ecos-ref/ecos-device-drivers.html
678 }
679
680 cdl_option CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL1_BAUD {
681 display "Baud rate for the TX39 JMR3904 serial port 1 driver"
682 type enum
683 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
684 parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL1
685 description "
686 This option specifies the default baud rate (speed) for the TX39 JMR3904 port 1."
687 doc ref/ecos-ref/ecos-device-drivers.html
688 }
689
690 cdl_option CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL1_BUFSIZE {
691 display "Buffer size for the TX39 JMR3904 serial port 1 driver"
692 type count
693 legal_values 0 to 8192
694 parent CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL1
695 description "
696 This option specifies the size of the internal buffers used for the TX39 JMR3904 port 1."
697 doc ref/ecos-ref/ecos-device-drivers.html
698 }
699
700 }}CFG_DATA */
701 #undef CYGPKG_IO_SERIAL_TX39_JMR3904
702 #undef CYGPKG_IO_SERIAL_TX39_JMR3904_POLLED_MODE
703 #undef CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL0
704 #define CYGDAT_IO_SERIAL_TX39_JMR3904_SERIAL0_NAME "/dev/ser1"
705 #define CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL0_BAUD 38400
706 #define CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL0_BUFSIZE 128
707 #undef CYGPKG_IO_SERIAL_TX39_JMR3904_SERIAL1
708 #define CYGDAT_IO_SERIAL_TX39_JMR3904_SERIAL1_NAME "/dev/ser2"
709 #define CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL1_BAUD 38400
710 #define CYGNUM_IO_SERIAL_TX39_JMR3904_SERIAL1_BUFSIZE 128
711
712 // Note: this is not currently tied to a specific board since the ports are "on chip"
713
714 /* ----------------------------------------------------------------------------
715 {{CFG_DATA
716 cdl_component CYGPKG_IO_SERIAL_MN10300 {
717 display "MN10300 serial device drivers"
718 type bool
719 requires CYGPKG_IO_SERIAL
720 # parent CYGPKG_IO_SERIAL
721 parent CYGPKG_HAL_MN10300
722 description "
723 This option enables the serial device drivers for the MN10300."
724 doc ref/ecos-ref/ecos-device-drivers.html
725 }
726
727 cdl_component CYGPKG_IO_SERIAL_MN10300_POLLED_MODE {
728 display "MN10300 polled mode serial drivers"
729 type bool
730 requires CYGPKG_IO_SERIAL
731 parent CYGPKG_IO_SERIAL_MN10300
732 description "
733 If asserted, this option specifies that the serial device drivers for
734 the MN10300 should be polled-mode instead of interrupt driven."
735 doc ref/ecos-ref/ecos-device-drivers.html
736 }
737
738 cdl_component CYGPKG_IO_SERIAL_MN10300_SERIAL0 {
739 display "MN10300 serial port 0 driver"
740 type bool
741 requires CYGPKG_IO_SERIAL
742 parent CYGPKG_IO_SERIAL_MN10300
743 description "
744 This option includes the serial device driver for port 0 on the MN10300."
745 doc ref/ecos-ref/ecos-device-drivers.html
746 }
747
748 cdl_option CYGDAT_IO_SERIAL_MN10300_SERIAL0_NAME {
749 display "Device name for MN10300 serial port 0"
750 type string
751 requires CYGPKG_IO_SERIAL
752 parent CYGPKG_IO_SERIAL_MN10300_SERIAL0
753 description "
754 This option specifies the device name port 0 on the MN10300."
755 doc ref/ecos-ref/ecos-device-drivers.html
756 }
757
758 cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL0_BAUD {
759 display "Baud rate for the MN10300 serial port 0 driver"
760 type enum
761 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
762 parent CYGPKG_IO_SERIAL_MN10300_SERIAL0
763 description "
764 This option specifies the default baud rate (speed) for the MN10300 port 0."
765 doc ref/ecos-ref/ecos-device-drivers.html
766 }
767
768 cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL0_BUFSIZE {
769 display "Buffer size for the MN10300 serial port 0 driver"
770 type count
771 legal_values 0 to 8192
772 parent CYGPKG_IO_SERIAL_MN10300_SERIAL0
773 description "
774 This option specifies the size of the internal buffers used for the MN10300 port 0."
775 doc ref/ecos-ref/ecos-device-drivers.html
776 }
777
778 cdl_component CYGPKG_IO_SERIAL_MN10300_SERIAL1 {
779 display "MN10300 serial port 1 driver"
780 type bool
781 requires CYGPKG_IO_SERIAL
782 parent CYGPKG_IO_SERIAL_MN10300
783 description "
784 This option includes the serial device driver for port 1 on the MN10300."
785 doc ref/ecos-ref/ecos-device-drivers.html
786 }
787
788 cdl_option CYGDAT_IO_SERIAL_MN10300_SERIAL1_NAME {
789 display "Device name for MN10300 serial port 1"
790 type string
791 requires CYGPKG_IO_SERIAL
792 parent CYGPKG_IO_SERIAL_MN10300_SERIAL1
793 description "
794 This option specifies the device name port 1 on the MN10300."
795 doc ref/ecos-ref/ecos-device-drivers.html
796 }
797
798 cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL1_BAUD {
799 display "Baud rate for the MN10300 serial port 1 driver"
800 type enum
801 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
802 parent CYGPKG_IO_SERIAL_MN10300_SERIAL1
803 description "
804 This option specifies the default baud rate (speed) for the MN10300 port 1."
805 doc ref/ecos-ref/ecos-device-drivers.html
806 }
807
808 cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL1_BUFSIZE {
809 display "Buffer size for the MN10300 serial port 1 driver"
810 type count
811 legal_values 0 to 8192
812 parent CYGPKG_IO_SERIAL_MN10300_SERIAL1
813 description "
814 This option specifies the size of the internal buffers used for the MN10300 port 1."
815 doc ref/ecos-ref/ecos-device-drivers.html
816 }
817
818 cdl_component CYGPKG_IO_SERIAL_MN10300_SERIAL2 {
819 display "MN10300 serial port 2 driver"
820 type bool
821 requires CYGPKG_IO_SERIAL
822 parent CYGPKG_IO_SERIAL_MN10300
823 description "
824 This option includes the serial device driver for port 2 on the MN10300."
825 doc ref/ecos-ref/ecos-device-drivers.html
826 }
827
828 cdl_option CYGDAT_IO_SERIAL_MN10300_SERIAL2_NAME {
829 display "Device name for MN10300 serial port 2"
830 type string
831 requires CYGPKG_IO_SERIAL
832 parent CYGPKG_IO_SERIAL_MN10300_SERIAL2
833 description "
834 This option specifies the device name port 2 on the MN10300."
835 doc ref/ecos-ref/ecos-device-drivers.html
836 }
837
838 cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL2_BAUD {
839 display "Baud rate for the MN10300 serial port 2 driver"
840 type enum
841 legal_values 50 75 110 134_5 150 200 300 600 1200 1800 2400 3600 4800 7200 9600 14400 19200 38400 57600 115200 234000
842 parent CYGPKG_IO_SERIAL_MN10300_SERIAL2
843 description "
844 This option specifies the default baud rate (speed) for the MN10300 port 2."
845 doc ref/ecos-ref/ecos-device-drivers.html
846 }
847
848 cdl_option CYGNUM_IO_SERIAL_MN10300_SERIAL2_BUFSIZE {
849 display "Buffer size for the MN10300 serial port 2 driver"
850 type count
851 legal_values 0 to 8192
852 parent CYGPKG_IO_SERIAL_MN10300_SERIAL2
853 description "
854 This option specifies the size of the internal buffers used for the MN10300 port 2."
855 doc ref/ecos-ref/ecos-device-drivers.html
856 }
857
858 }}CFG_DATA */
859 #undef CYGPKG_IO_SERIAL_MN10300
860 #undef CYGPKG_IO_SERIAL_MN10300_POLLED_MODE
861 #undef CYGPKG_IO_SERIAL_MN10300_SERIAL0
862 #define CYGDAT_IO_SERIAL_MN10300_SERIAL0_NAME "/dev/ser0"
863 #define CYGNUM_IO_SERIAL_MN10300_SERIAL0_BAUD 38400
864 #define CYGNUM_IO_SERIAL_MN10300_SERIAL0_BUFSIZE 128
865 #undef CYGPKG_IO_SERIAL_MN10300_SERIAL1
866 #define CYGDAT_IO_SERIAL_MN10300_SERIAL1_NAME "/dev/ser1"
867 #define CYGNUM_IO_SERIAL_MN10300_SERIAL1_BAUD 38400
868 #define CYGNUM_IO_SERIAL_MN10300_SERIAL1_BUFSIZE 128
869 #undef CYGPKG_IO_SERIAL_MN10300_SERIAL2
870 #define CYGDAT_IO_SERIAL_MN10300_SERIAL2_NAME "/dev/ser2"
871 #define CYGNUM_IO_SERIAL_MN10300_SERIAL2_BAUD 38400
872 #define CYGNUM_IO_SERIAL_MN10300_SERIAL2_BUFSIZE 128
873
874 #endif /* CYGONCE_PKGCONF_IO_SERIAL_H */
875 /* EOF io_serial.h */