]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/devs/serial/powerpc/mpc8xxx/v2_0/cdl/ser_mpc8xxx.cdl
Initial revision
[karo-tx-redboot.git] / packages / devs / serial / powerpc / mpc8xxx / v2_0 / cdl / ser_mpc8xxx.cdl
1 # ====================================================================
2 #
3 #      ser_mpc8xxx.cdl
4 #
5 #      eCos serial PowerPC MPC8XXX (QUICC-II) 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 cdl_package CYGPKG_IO_SERIAL_POWERPC_MPC8XXX {
54     display       "PowerPC MPC8XXX (QUICC-II) serial device drivers"
55
56     parent        CYGPKG_IO_SERIAL_DEVICES
57     active_if     CYGPKG_IO_SERIAL
58     active_if     CYGPKG_HAL_POWERPC_MPC8XXX
59
60     requires      CYGPKG_ERROR
61     include_dir   cyg/io
62     include_files ; # none _exported_ whatsoever
63     description   "
64            This option enables the serial device drivers for the
65            PowerPC MPC8XXX (QUICC-II) SMC/SCC."
66
67     compile       -library=libextras.a  mpc8xxx_serial.c
68
69     define_proc {
70         puts $::cdl_system_header "/***** serial driver proc output start *****/"
71         puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER <pkgconf/io_serial_powerpc_mpc8xxx.h>"
72         puts $::cdl_system_header "/*****  serial driver proc output end  *****/"
73     }
74
75 cdl_component CYGPKG_IO_SERIAL_POWERPC_MPC8XXX_SMC1 {
76     display       "PowerPC MPC8XXX/SMC serial port 1 driver"
77     flavor        bool
78     active_if     CYGNUM_HAL_MPC8XXX_SMC1
79     default_value 1
80     description   "
81         This option includes the serial device driver for the PowerPC 
82         MPC8XXX/SMC port 1."
83
84     cdl_option CYGDAT_IO_SERIAL_POWERPC_MPC8XXX_SMC1_NAME {
85         display       "Device name for PowerPC MPC8XXX/SMC serial port 1"
86         flavor        data
87         default_value {"\"/dev/ser1\""}
88         description   "
89             This option specifies the device name for the PowerPC 
90             MPC8XXX/SMC port 1."
91     }
92
93     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC1_BAUD {
94         display       "Baud rate for the PowerPC MPC8XXX/SMC serial port 1"
95         flavor        data
96         legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
97                       4800 7200 9600 14400 19200 38400 57600 115200 230400
98         }
99         default_value 38400
100         description   "
101             This option specifies the default baud rate (speed) for the 
102             PowerPC MPC8XXX/SMC port 1."
103     }
104
105     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC1_BUFSIZE {
106         display       "Buffer size for the PowerPC MPC8XXX/SMC serial port 1"
107         flavor        data
108         legal_values  0 to 8192
109         default_value 256
110         description   "
111             This option specifies the size of the internal buffers used
112             for the PowerPC MPC8XXX/SMC port 1."
113     }
114
115     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC1_TxSIZE {
116         display       "Output buffer size for the PowerPC MPC8XXX/SMC serial port 1"
117         flavor        data
118         legal_values  16 to 128
119         default_value 16
120         description   "
121             This option specifies the maximum number of characters per 
122             transmit request to be used for the PowerPC MPC8XXX/SMC port 1."
123     }
124
125     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC1_TxNUM {
126         display       "Number of output buffers for the PowerPC MPC8XXX/SMC serial port 1"
127         flavor        data
128         legal_values  2 to 16
129         default_value 4
130         description   "
131             This option specifies the number of output buffer packets
132             to be used for the PowerPC MPC8XXX/SMC port 1."
133     }
134
135     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC1_RxSIZE {
136         display       "Input buffer size for the PowerPC MPC8XXX/SMC serial port 1"
137         flavor        data
138         legal_values  16 to 128
139         default_value 16
140         description   "
141             This option specifies the maximum number of characters per receive
142             request to be used for the PowerPC MPC8XXX/SMC port 1."
143     }
144
145     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC1_RxNUM {
146         display       "Number of input buffers for the PowerPC MPC8XXX/SMC serial port 1"
147         flavor        data
148         legal_values  2 to 16
149         default_value 4
150         description   "
151             This option specifies the number of input buffer packets
152             to be used for the PowerPC MPC8XXX/SMC port 1."
153     }
154 }
155
156 cdl_component CYGPKG_IO_SERIAL_POWERPC_MPC8XXX_SMC2 {
157     display       "PowerPC MPC8XXX/SMC serial port 2 driver"
158     flavor        bool
159     active_if     CYGNUM_HAL_MPC8XXX_SMC2
160     default_value 1
161     description   "
162         This option includes the serial device driver for the PowerPC 
163         MPC8XXX/SMC port 2."
164
165     cdl_option CYGDAT_IO_SERIAL_POWERPC_MPC8XXX_SMC2_NAME {
166         display       "Device name for PowerPC MPC8XXX/SMC serial port 2"
167         flavor        data
168         default_value {"\"/dev/ser2\""}
169         description   "
170             This option specifies the device name for the PowerPC 
171             MPC8XXX/SMC port 2."
172     }
173
174     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC2_BAUD {
175         display       "Baud rate for the PowerPC MPC8XXX/SMC serial port 2"
176         flavor        data
177         legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
178                       4800 7200 9600 14400 19200 38400 57600 115200 230400
179         }
180         default_value 38400
181         description   "
182             This option specifies the default baud rate (speed) for the
183             PowerPC MPC8XXX/SMC port 2."
184     }
185
186     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC2_BUFSIZE {
187         display       "Buffer size for the PowerPC MPC8XXX/SMC serial port 2"
188         flavor        data
189         legal_values  0 to 8192
190         default_value 256
191         description   "
192             This option specifies the size of the internal buffers used
193             for the PowerPC MPC8XXX/SMC port 2."
194     }
195
196     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC2_TxSIZE {
197         display       "Output buffer size for the PowerPC MPC8XXX/SMC serial port 2"
198         flavor        data
199         legal_values  16 to 128
200         default_value 16
201         description   "
202             This option specifies the maximum number of characters per 
203             transmit request to be used for the PowerPC MPC8XXX/SMC port 2."
204     }
205
206     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC2_TxNUM {
207         display       "Number of output buffers for the PowerPC MPC8XXX/SMC serial port 2"
208         flavor        data
209         legal_values  2 to 16
210         default_value 4
211         description   "
212             This option specifies the number of output buffer packets
213             to be used for the PowerPC MPC8XXX/SMC port 2."
214     }
215
216     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC2_RxSIZE {
217         display       "Input buffer size for the PowerPC MPC8XXX/SMC serial port 2"
218         flavor        data
219         legal_values  16 to 128
220         default_value 16
221         description   "
222             This option specifies the maximum number of characters per receive
223             request to be used for the PowerPC MPC8XXX/SMC port 2."
224     }
225
226     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SMC2_RxNUM {
227         display       "Number of output buffers for the PowerPC MPC8XXX/SMC serial port 2"
228         flavor        data
229         legal_values  2 to 16
230         default_value 4
231         description   "
232             This option specifies the number of input buffer packets
233             to be used for the PowerPC MPC8XXX/SMC port 2."
234     }
235 }
236
237     cdl_component CYGPKG_IO_SERIAL_POWERPC_MPC8XXX_OPTIONS {
238         display "Serial device driver build options"
239         flavor  none
240         description   "
241             Package specific build options including control over
242             compiler flags used only in building this package,
243             and details of which tests are built."
244
245
246         cdl_option CYGPKG_IO_SERIAL_POWERPC_MPC8XXX_CFLAGS_ADD {
247             display "Additional compiler flags"
248             flavor  data
249             no_define
250             default_value { "" }
251             description   "
252                 This option modifies the set of compiler flags for
253                 building these serial device drivers. These flags are used in addition
254                 to the set of global flags."
255         }
256
257         cdl_option CYGPKG_IO_SERIAL_POWERPC_MPC8XXX_CFLAGS_REMOVE {
258             display "Suppressed compiler flags"
259             flavor  data
260             no_define
261             default_value { "" }
262             description   "
263                 This option modifies the set of compiler flags for
264                 building these serial device drivers. These flags are removed from
265                 the set of global flags if present."
266         }
267     }
268 }
269
270 cdl_component CYGPKG_IO_SERIAL_POWERPC_MPC8XXX_SCC1 {
271     display       "PowerPC MPC8XXX/SCC serial port 1 driver"
272     flavor        bool
273     active_if     CYGNUM_HAL_MPC8XXX_SCC1
274     default_value 1
275     description   "
276         This option includes the serial device driver for the PowerPC 
277         MPC8XXX/SCC port 1."
278
279     cdl_option CYGDAT_IO_SERIAL_POWERPC_MPC8XXX_SCC1_NAME {
280         display       "Device name for PowerPC MPC8XXX/SCC serial port 1"
281         flavor        data
282         default_value {"\"/dev/scc1\""}
283         description   "
284             This option specifies the device name for the PowerPC 
285             MPC8XXX/SCC port 1."
286     }
287
288     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC1_BAUD {
289         display       "Baud rate for the PowerPC MPC8XXX/SCC serial port 1"
290         flavor        data
291         legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
292                       4800 7200 9600 14400 19200 38400 57600 115200 230400
293         }
294         default_value 38400
295         description   "
296             This option specifies the default baud rate (speed) for the 
297             PowerPC MPC8XXX/SCC port 1."
298     }
299
300     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC1_BUFSIZE {
301         display       "Buffer size for the PowerPC MPC8XXX/SCC serial port 1"
302         flavor        data
303         legal_values  0 to 8192
304         default_value 256
305         description   "
306             This option specifies the size of the internal buffers used
307             for the PowerPC MPC8XXX/SCC port 1."
308     }
309
310     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC1_TxSIZE {
311         display       "Output buffer size for the PowerPC MPC8XXX/SCC serial port 1"
312         flavor        data
313         legal_values  16 to 128
314         default_value 16
315         description   "
316             This option specifies the maximum number of characters per 
317             transmit request to be used for the PowerPC MPC8XXX/SCC port 1."
318     }
319
320     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC1_TxNUM {
321         display       "Number of output buffers for the PowerPC MPC8XXX/SCC serial port 1"
322         flavor        data
323         legal_values  2 to 16
324         default_value 4
325         description   "
326             This option specifies the number of output buffer packets
327             to be used for the PowerPC MPC8XXX/SCC port 1."
328     }
329
330     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC1_RxSIZE {
331         display       "Input buffer size for the PowerPC MPC8XXX/SCC serial port 1"
332         flavor        data
333         legal_values  16 to 128
334         default_value 16
335         description   "
336             This option specifies the maximum number of characters per receive
337             request to be used for the PowerPC MPC8XXX/SCC port 1."
338     }
339
340     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC1_RxNUM {
341         display       "Number of input buffers for the PowerPC MPC8XXX/SCC serial port 1"
342         flavor        data
343         legal_values  2 to 16
344         default_value 4
345         description   "
346             This option specifies the number of input buffer packets
347             to be used for the PowerPC MPC8XXX/SCC port 1."
348     }
349 }
350
351 cdl_component CYGPKG_IO_SERIAL_POWERPC_MPC8XXX_SCC2 {
352     display       "PowerPC MPC8XXX/SCC serial port 2 driver"
353     flavor        bool
354     active_if     CYGNUM_HAL_MPC8XXX_SCC2
355     default_value 1
356     description   "
357         This option includes the serial device driver for the PowerPC 
358         MPC8XXX/SCC port 2."
359
360     cdl_option CYGDAT_IO_SERIAL_POWERPC_MPC8XXX_SCC2_NAME {
361         display       "Device name for PowerPC MPC8XXX/SCC serial port 2"
362         flavor        data
363         default_value {"\"/dev/scc2\""}
364         description   "
365             This option specifies the device name for the PowerPC 
366             MPC8XXX/SCC port 2."
367     }
368
369     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC2_BAUD {
370         display       "Baud rate for the PowerPC MPC8XXX/SCC serial port 2"
371         flavor        data
372         legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
373                       4800 7200 9600 14400 19200 38400 57600 115200 230400
374         }
375         default_value 38400
376         description   "
377             This option specifies the default baud rate (speed) for the 
378             PowerPC MPC8XXX/SCC port 2."
379     }
380
381     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC2_BUFSIZE {
382         display       "Buffer size for the PowerPC MPC8XXX/SCC serial port 2"
383         flavor        data
384         legal_values  0 to 8192
385         default_value 256
386         description   "
387             This option specifies the size of the internal buffers used
388             for the PowerPC MPC8XXX/SCC port 2."
389     }
390
391     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC2_TxSIZE {
392         display       "Output buffer size for the PowerPC MPC8XXX/SCC serial port 2"
393         flavor        data
394         legal_values  16 to 128
395         default_value 16
396         description   "
397             This option specifies the maximum number of characters per 
398             transmit request to be used for the PowerPC MPC8XXX/SCC port 2."
399     }
400
401     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC2_TxNUM {
402         display       "Number of output buffers for the PowerPC MPC8XXX/SCC serial port 2"
403         flavor        data
404         legal_values  2 to 16
405         default_value 4
406         description   "
407             This option specifies the number of output buffer packets
408             to be used for the PowerPC MPC8XXX/SCC port 2."
409     }
410
411     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC2_RxSIZE {
412         display       "Input buffer size for the PowerPC MPC8XXX/SCC serial port 2"
413         flavor        data
414         legal_values  16 to 128
415         default_value 16
416         description   "
417             This option specifies the maximum number of characters per receive
418             request to be used for the PowerPC MPC8XXX/SCC port 2."
419     }
420
421     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC2_RxNUM {
422         display       "Number of input buffers for the PowerPC MPC8XXX/SCC serial port 2"
423         flavor        data
424         legal_values  2 to 16
425         default_value 4
426         description   "
427             This option specifies the number of input buffer packets
428             to be used for the PowerPC MPC8XXX/SCC port 2."
429     }
430 }
431
432 cdl_component CYGPKG_IO_SERIAL_POWERPC_MPC8XXX_SCC3 {
433     display       "PowerPC MPC8XXX/SCC serial port 3 driver"
434     flavor        bool
435     active_if     CYGNUM_HAL_MPC8XXX_SCC3
436     default_value 1
437     description   "
438         This option includes the serial device driver for the PowerPC 
439         MPC8XXX/SCC port 3."
440
441     cdl_option CYGDAT_IO_SERIAL_POWERPC_MPC8XXX_SCC3_NAME {
442         display       "Device name for PowerPC MPC8XXX/SCC serial port 3"
443         flavor        data
444         default_value {"\"/dev/scc3\""}
445         description   "
446             This option specifies the device name for the PowerPC 
447             MPC8XXX/SCC port 3."
448     }
449
450     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC3_BAUD {
451         display       "Baud rate for the PowerPC MPC8XXX/SCC serial port 3"
452         flavor        data
453         legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
454                       4800 7200 9600 14400 19200 38400 57600 115200 230400
455         }
456         default_value 38400
457         description   "
458             This option specifies the default baud rate (speed) for the 
459             PowerPC MPC8XXX/SCC port 3."
460     }
461
462     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC3_BUFSIZE {
463         display       "Buffer size for the PowerPC MPC8XXX/SCC serial port 3"
464         flavor        data
465         legal_values  0 to 8192
466         default_value 256
467         description   "
468             This option specifies the size of the internal buffers used
469             for the PowerPC MPC8XXX/SCC port 3."
470     }
471
472     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC3_TxSIZE {
473         display       "Output buffer size for the PowerPC MPC8XXX/SCC serial port 3"
474         flavor        data
475         legal_values  16 to 128
476         default_value 16
477         description   "
478             This option specifies the maximum number of characters per 
479             transmit request to be used for the PowerPC MPC8XXX/SCC port 3."
480     }
481
482     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC3_TxNUM {
483         display       "Number of output buffers for the PowerPC MPC8XXX/SCC serial port 3"
484         flavor        data
485         legal_values  2 to 16
486         default_value 4
487         description   "
488             This option specifies the number of output buffer packets
489             to be used for the PowerPC MPC8XXX/SCC port 3."
490     }
491
492     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC3_RxSIZE {
493         display       "Input buffer size for the PowerPC MPC8XXX/SCC serial port 3"
494         flavor        data
495         legal_values  16 to 128
496         default_value 16
497         description   "
498             This option specifies the maximum number of characters per receive
499             request to be used for the PowerPC MPC8XXX/SCC port 3."
500     }
501
502     cdl_option CYGNUM_IO_SERIAL_POWERPC_MPC8XXX_SCC3_RxNUM {
503         display       "Number of input buffers for the PowerPC MPC8XXX/SCC serial port 3"
504         flavor        data
505         legal_values  2 to 16
506         default_value 4
507         description   "
508             This option specifies the number of input buffer packets
509             to be used for the PowerPC MPC8XXX/SCC port 3."
510     }
511 }
512
513 # EOF ser_mpc8xxx_smc.cdl