]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/devs/serial/powerpc/quicc/v2_0/cdl/ser_quicc_smc.cdl
Initial revision
[karo-tx-redboot.git] / packages / devs / serial / powerpc / quicc / v2_0 / cdl / ser_quicc_smc.cdl
1 # ====================================================================
2 #
3 #      ser_quicc_smc.cdl
4 #
5 #      eCos serial PowerPC/QUICC SMC/SCC configuration data
6 #
7 # ====================================================================
8 #####ECOSGPLCOPYRIGHTBEGIN####
9 ## -------------------------------------------
10 ## This file is part of eCos, the Embedded Configurable Operating System.
11 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
12 ## Copyright (C) 2002, 2003 Gary Thomas
13 ##
14 ## eCos is free software; you can redistribute it and/or modify it under
15 ## the terms of the GNU General Public License as published by the Free
16 ## Software Foundation; either version 2 or (at your option) any later version.
17 ##
18 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
19 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
20 ## FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
21 ## for more details.
22 ##
23 ## You should have received a copy of the GNU General Public License along
24 ## with eCos; if not, write to the Free Software Foundation, Inc.,
25 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
26 ##
27 ## As a special exception, if other files instantiate templates or use macros
28 ## or inline functions from this file, or you compile this file and link it
29 ## with other works to produce a work based on this file, this file does not
30 ## by itself cause the resulting work to be covered by the GNU General Public
31 ## License. However the source code for this file must still be made available
32 ## in accordance with section (3) of the GNU General Public License.
33 ##
34 ## This exception does not invalidate any other reasons why a work based on
35 ## this file might be covered by the GNU General Public License.
36 ##
37 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
38 ## at http://sources.redhat.com/ecos/ecos-license/
39 ## -------------------------------------------
40 #####ECOSGPLCOPYRIGHTEND####
41 # ====================================================================
42 ######DESCRIPTIONBEGIN####
43 #
44 # Author(s):      jskov
45 # Original data:  gthomas
46 # Contributors:
47 # Date:           1999-07-14
48 #
49 #####DESCRIPTIONEND####
50 #
51 # ====================================================================
52
53
54 cdl_package CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC {
55     display       "PowerPC QUICC/SMC serial device drivers"
56
57     parent        CYGPKG_IO_SERIAL_DEVICES
58     active_if     CYGPKG_IO_SERIAL
59     active_if     CYGPKG_HAL_QUICC
60
61     requires      CYGPKG_ERROR
62     include_dir   cyg/io
63     include_files ; # none _exported_ whatsoever
64     description   "
65            This option enables the serial device drivers for the
66            PowerPC QUICC/SMC/SCC."
67
68     compile       -library=libextras.a   quicc_smc_serial.c
69
70     define_proc {
71         puts $::cdl_system_header "/***** serial driver proc output start *****/"
72         puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER <pkgconf/io_serial_powerpc_quicc_smc.h>"
73         puts $::cdl_system_header "/*****  serial driver proc output end  *****/"
74     }
75
76 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SMC1 {
77     display       "PowerPC QUICC/SMC serial port 1 driver"
78     flavor        bool
79     active_if     CYGNUM_HAL_QUICC_SMC1
80     default_value 1
81     description   "
82         This option includes the serial device driver for the PowerPC 
83         QUICC/SMC port 1."
84
85     cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_NAME {
86         display       "Device name for PowerPC QUICC/SMC serial port 1"
87         flavor        data
88         default_value {"\"/dev/ser1\""}
89         description   "
90             This option specifies the device name for the PowerPC 
91             QUICC/SMC port 1."
92     }
93
94     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_BAUD {
95         display       "Baud rate for the PowerPC QUICC/SMC serial port 1"
96         flavor        data
97         legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
98                       4800 7200 9600 14400 19200 38400 57600 115200 230400
99         }
100         default_value 38400
101         description   "
102             This option specifies the default baud rate (speed) for the 
103             PowerPC QUICC/SMC port 1."
104     }
105
106     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_BUFSIZE {
107         display       "Buffer size for the PowerPC QUICC/SMC serial port 1"
108         flavor        data
109         legal_values  0 to 8192
110         default_value 256
111         description   "
112             This option specifies the size of the internal buffers used
113             for the PowerPC QUICC/SMC port 1."
114     }
115
116     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_TxSIZE {
117         display       "Output buffer size for the PowerPC QUICC/SMC serial port 1"
118         flavor        data
119         legal_values  16 to 128
120         default_value 16
121         description   "
122             This option specifies the maximum number of characters per 
123             transmit request to be used for the PowerPC QUICC/SMC port 1."
124     }
125
126     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_TxNUM {
127         display       "Number of output buffers for the PowerPC QUICC/SMC serial port 1"
128         flavor        data
129         legal_values  2 to 16
130         default_value 4
131         description   "
132             This option specifies the number of output buffer packets
133             to be used for the PowerPC QUICC/SMC port 1."
134     }
135
136     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_RxSIZE {
137         display       "Input buffer size for the PowerPC QUICC/SMC serial port 1"
138         flavor        data
139         legal_values  16 to 128
140         default_value 16
141         description   "
142             This option specifies the maximum number of characters per receive
143             request to be used for the PowerPC QUICC/SMC port 1."
144     }
145
146     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_RxNUM {
147         display       "Number of input buffers for the PowerPC QUICC/SMC serial port 1"
148         flavor        data
149         legal_values  2 to 16
150         default_value 4
151         description   "
152             This option specifies the number of input buffer packets
153             to be used for the PowerPC QUICC/SMC port 1."
154     }
155 }
156
157 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SMC2 {
158     display       "PowerPC QUICC/SMC serial port 2 driver"
159     flavor        bool
160     active_if     CYGNUM_HAL_QUICC_SMC2
161     default_value 1
162     description   "
163         This option includes the serial device driver for the PowerPC 
164         QUICC/SMC port 2."
165
166     cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_NAME {
167         display       "Device name for PowerPC QUICC/SMC serial port 2"
168         flavor        data
169         default_value {"\"/dev/ser2\""}
170         description   "
171             This option specifies the device name for the PowerPC 
172             QUICC/SMC port 2."
173     }
174
175     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_BAUD {
176         display       "Baud rate for the PowerPC QUICC/SMC serial port 2"
177         flavor        data
178         legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
179                       4800 7200 9600 14400 19200 38400 57600 115200 230400
180         }
181         default_value 38400
182         description   "
183             This option specifies the default baud rate (speed) for the
184             PowerPC QUICC/SMC port 2."
185     }
186
187     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_BUFSIZE {
188         display       "Buffer size for the PowerPC QUICC/SMC serial port 2"
189         flavor        data
190         legal_values  0 to 8192
191         default_value 256
192         description   "
193             This option specifies the size of the internal buffers used
194             for the PowerPC QUICC/SMC port 2."
195     }
196
197     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_TxSIZE {
198         display       "Output buffer size for the PowerPC QUICC/SMC serial port 2"
199         flavor        data
200         legal_values  16 to 128
201         default_value 16
202         description   "
203             This option specifies the maximum number of characters per 
204             transmit request to be used for the PowerPC QUICC/SMC port 2."
205     }
206
207     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_TxNUM {
208         display       "Number of output buffers for the PowerPC QUICC/SMC serial port 2"
209         flavor        data
210         legal_values  2 to 16
211         default_value 4
212         description   "
213             This option specifies the number of output buffer packets
214             to be used for the PowerPC QUICC/SMC port 2."
215     }
216
217     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_RxSIZE {
218         display       "Input buffer size for the PowerPC QUICC/SMC serial port 2"
219         flavor        data
220         legal_values  16 to 128
221         default_value 16
222         description   "
223             This option specifies the maximum number of characters per receive
224             request to be used for the PowerPC QUICC/SMC port 2."
225     }
226
227     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_RxNUM {
228         display       "Number of output buffers for the PowerPC QUICC/SMC serial port 2"
229         flavor        data
230         legal_values  2 to 16
231         default_value 4
232         description   "
233             This option specifies the number of input buffer packets
234             to be used for the PowerPC QUICC/SMC port 2."
235     }
236 }
237
238     cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_OPTIONS {
239         display "Serial device driver build options"
240         flavor  none
241         description   "
242             Package specific build options including control over
243             compiler flags used only in building this package,
244             and details of which tests are built."
245
246
247         cdl_option CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_CFLAGS_ADD {
248             display "Additional compiler flags"
249             flavor  data
250             no_define
251             default_value { "" }
252             description   "
253                 This option modifies the set of compiler flags for
254                 building these serial device drivers. These flags are used in addition
255                 to the set of global flags."
256         }
257
258         cdl_option CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_CFLAGS_REMOVE {
259             display "Suppressed compiler flags"
260             flavor  data
261             no_define
262             default_value { "" }
263             description   "
264                 This option modifies the set of compiler flags for
265                 building these serial device drivers. These flags are removed from
266                 the set of global flags if present."
267         }
268     }
269 }
270
271 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SCC1 {
272     display       "PowerPC QUICC/SCC serial port 1 driver"
273     flavor        bool
274     active_if     CYGNUM_HAL_QUICC_SCC1
275     default_value 1
276     description   "
277         This option includes the serial device driver for the PowerPC 
278         QUICC/SCC port 1."
279
280     cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC_SMC_SCC1_NAME {
281         display       "Device name for PowerPC QUICC/SCC serial port 1"
282         flavor        data
283         default_value {"\"/dev/scc1\""}
284         description   "
285             This option specifies the device name for the PowerPC 
286             QUICC/SCC port 1."
287     }
288
289     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC1_BAUD {
290         display       "Baud rate for the PowerPC QUICC/SCC serial port 1"
291         flavor        data
292         legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
293                       4800 7200 9600 14400 19200 38400 57600 115200 230400
294         }
295         default_value 38400
296         description   "
297             This option specifies the default baud rate (speed) for the 
298             PowerPC QUICC/SCC port 1."
299     }
300
301     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC1_BUFSIZE {
302         display       "Buffer size for the PowerPC QUICC/SCC serial port 1"
303         flavor        data
304         legal_values  0 to 8192
305         default_value 256
306         description   "
307             This option specifies the size of the internal buffers used
308             for the PowerPC QUICC/SCC port 1."
309     }
310
311     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC1_TxSIZE {
312         display       "Output buffer size for the PowerPC QUICC/SCC serial port 1"
313         flavor        data
314         legal_values  16 to 128
315         default_value 16
316         description   "
317             This option specifies the maximum number of characters per 
318             transmit request to be used for the PowerPC QUICC/SCC port 1."
319     }
320
321     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC1_TxNUM {
322         display       "Number of output buffers for the PowerPC QUICC/SCC serial port 1"
323         flavor        data
324         legal_values  2 to 16
325         default_value 4
326         description   "
327             This option specifies the number of output buffer packets
328             to be used for the PowerPC QUICC/SCC port 1."
329     }
330
331     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC1_RxSIZE {
332         display       "Input buffer size for the PowerPC QUICC/SCC serial port 1"
333         flavor        data
334         legal_values  16 to 128
335         default_value 16
336         description   "
337             This option specifies the maximum number of characters per receive
338             request to be used for the PowerPC QUICC/SCC port 1."
339     }
340
341     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC1_RxNUM {
342         display       "Number of input buffers for the PowerPC QUICC/SCC serial port 1"
343         flavor        data
344         legal_values  2 to 16
345         default_value 4
346         description   "
347             This option specifies the number of input buffer packets
348             to be used for the PowerPC QUICC/SCC port 1."
349     }
350 }
351
352 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SCC2 {
353     display       "PowerPC QUICC/SCC serial port 2 driver"
354     flavor        bool
355     active_if     CYGNUM_HAL_QUICC_SCC2
356     default_value 1
357     description   "
358         This option includes the serial device driver for the PowerPC 
359         QUICC/SCC port 2."
360
361     cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC_SMC_SCC2_NAME {
362         display       "Device name for PowerPC QUICC/SCC serial port 2"
363         flavor        data
364         default_value {"\"/dev/scc2\""}
365         description   "
366             This option specifies the device name for the PowerPC 
367             QUICC/SCC port 2."
368     }
369
370     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC2_BAUD {
371         display       "Baud rate for the PowerPC QUICC/SCC serial port 2"
372         flavor        data
373         legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
374                       4800 7200 9600 14400 19200 38400 57600 115200 230400
375         }
376         default_value 38400
377         description   "
378             This option specifies the default baud rate (speed) for the 
379             PowerPC QUICC/SCC port 2."
380     }
381
382     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC2_BUFSIZE {
383         display       "Buffer size for the PowerPC QUICC/SCC serial port 2"
384         flavor        data
385         legal_values  0 to 8192
386         default_value 256
387         description   "
388             This option specifies the size of the internal buffers used
389             for the PowerPC QUICC/SCC port 2."
390     }
391
392     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC2_TxSIZE {
393         display       "Output buffer size for the PowerPC QUICC/SCC serial port 2"
394         flavor        data
395         legal_values  16 to 128
396         default_value 16
397         description   "
398             This option specifies the maximum number of characters per 
399             transmit request to be used for the PowerPC QUICC/SCC port 2."
400     }
401
402     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC2_TxNUM {
403         display       "Number of output buffers for the PowerPC QUICC/SCC serial port 2"
404         flavor        data
405         legal_values  2 to 16
406         default_value 4
407         description   "
408             This option specifies the number of output buffer packets
409             to be used for the PowerPC QUICC/SCC port 2."
410     }
411
412     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC2_RxSIZE {
413         display       "Input buffer size for the PowerPC QUICC/SCC serial port 2"
414         flavor        data
415         legal_values  16 to 128
416         default_value 16
417         description   "
418             This option specifies the maximum number of characters per receive
419             request to be used for the PowerPC QUICC/SCC port 2."
420     }
421
422     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC2_RxNUM {
423         display       "Number of input buffers for the PowerPC QUICC/SCC serial port 2"
424         flavor        data
425         legal_values  2 to 16
426         default_value 4
427         description   "
428             This option specifies the number of input buffer packets
429             to be used for the PowerPC QUICC/SCC port 2."
430     }
431 }
432
433 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SCC3 {
434     display       "PowerPC QUICC/SCC serial port 3 driver"
435     flavor        bool
436     active_if     CYGNUM_HAL_QUICC_SCC3
437     default_value 1
438     description   "
439         This option includes the serial device driver for the PowerPC 
440         QUICC/SCC port 3."
441
442     cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC_SMC_SCC3_NAME {
443         display       "Device name for PowerPC QUICC/SCC serial port 3"
444         flavor        data
445         default_value {"\"/dev/scc3\""}
446         description   "
447             This option specifies the device name for the PowerPC 
448             QUICC/SCC port 3."
449     }
450
451     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC3_BAUD {
452         display       "Baud rate for the PowerPC QUICC/SCC serial port 3"
453         flavor        data
454         legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
455                       4800 7200 9600 14400 19200 38400 57600 115200 230400
456         }
457         default_value 38400
458         description   "
459             This option specifies the default baud rate (speed) for the 
460             PowerPC QUICC/SCC port 3."
461     }
462
463     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC3_BUFSIZE {
464         display       "Buffer size for the PowerPC QUICC/SCC serial port 3"
465         flavor        data
466         legal_values  0 to 8192
467         default_value 256
468         description   "
469             This option specifies the size of the internal buffers used
470             for the PowerPC QUICC/SCC port 3."
471     }
472
473     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC3_TxSIZE {
474         display       "Output buffer size for the PowerPC QUICC/SCC serial port 3"
475         flavor        data
476         legal_values  16 to 128
477         default_value 16
478         description   "
479             This option specifies the maximum number of characters per 
480             transmit request to be used for the PowerPC QUICC/SCC port 3."
481     }
482
483     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC3_TxNUM {
484         display       "Number of output buffers for the PowerPC QUICC/SCC serial port 3"
485         flavor        data
486         legal_values  2 to 16
487         default_value 4
488         description   "
489             This option specifies the number of output buffer packets
490             to be used for the PowerPC QUICC/SCC port 3."
491     }
492
493     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC3_RxSIZE {
494         display       "Input buffer size for the PowerPC QUICC/SCC serial port 3"
495         flavor        data
496         legal_values  16 to 128
497         default_value 16
498         description   "
499             This option specifies the maximum number of characters per receive
500             request to be used for the PowerPC QUICC/SCC port 3."
501     }
502
503     cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SCC3_RxNUM {
504         display       "Number of input buffers for the PowerPC QUICC/SCC serial port 3"
505         flavor        data
506         legal_values  2 to 16
507         default_value 4
508         description   "
509             This option specifies the number of input buffer packets
510             to be used for the PowerPC QUICC/SCC port 3."
511     }
512 }
513
514 # EOF ser_quicc_smc.cdl