comparison packages/devs/serial/powerpc/quicc/current/cdl/ser_quicc_smc.cdl @ 82:6736c52df507 ecos-sw-2000-04-14

Merge from eCos master repository on 2000-04-14-13:35:46-BST
author jlarmour
date Tue, 18 Apr 2000 21:51:55 +0000
parents
children 95f3e12a6327
comparison
equal deleted inserted replaced
81:89fef2181d7d 82:6736c52df507
1 # ====================================================================
2 #
3 # ser_quicc_smc.cdl
4 #
5 # eCos serial PowerPC/QUICC SMC configuration data
6 #
7 # ====================================================================
8 #####COPYRIGHTBEGIN####
9 #
10 # -------------------------------------------
11 # The contents of this file are subject to the Red Hat eCos Public License
12 # Version 1.1 (the "License"); you may not use this file except in
13 # compliance with the License. You may obtain a copy of the License at
14 # http://www.redhat.com/
15 #
16 # Software distributed under the License is distributed on an "AS IS"
17 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
18 # License for the specific language governing rights and limitations under
19 # the License.
20 #
21 # The Original Code is eCos - Embedded Configurable Operating System,
22 # released September 30, 1998.
23 #
24 # The Initial Developer of the Original Code is Red Hat.
25 # Portions created by Red Hat are
26 # Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
27 # All Rights Reserved.
28 # -------------------------------------------
29 #
30 #####COPYRIGHTEND####
31 # ====================================================================
32 ######DESCRIPTIONBEGIN####
33 #
34 # Author(s): jskov
35 # Original data: gthomas
36 # Contributors:
37 # Date: 1999-07-14
38 #
39 #####DESCRIPTIONEND####
40 #
41 # ====================================================================
42
43
44 cdl_package CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC {
45 display "PowerPC QUICC/SMC serial device drivers"
46
47 parent CYGPKG_IO_SERIAL_DEVICES
48 active_if CYGPKG_IO_SERIAL
49 active_if CYGPKG_HAL_QUICC
50
51 requires CYGPKG_ERROR
52 include_dir cyg/io
53 # include_files ; # none _exported_ whatsoever
54 description "
55 This option enables the serial device drivers for the
56 PowerPC QUICC/SMC."
57 doc redirect/ecos-device-drivers.html
58
59 compile -library=libextras.a quicc_smc_serial.c
60
61 define_proc {
62 puts $::cdl_system_header "/***** serial driver proc output start *****/"
63 puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER <pkgconf/io_serial_powerpc_quicc_smc.h>"
64 puts $::cdl_system_header "/***** serial driver proc output end *****/"
65 }
66
67 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SMC1 {
68 display "PowerPC QUICC/SMC serial port 1 driver"
69 flavor bool
70 default_value 1
71 description "
72 This option includes the serial device driver for the PowerPC
73 QUICC/SMC port 1."
74
75 cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_NAME {
76 display "Device name for PowerPC QUICC/SMC serial port 1"
77 flavor data
78 default_value {"\"/dev/ser1\""}
79 description "
80 This option specifies the device name for the PowerPC
81 QUICC/SMC port 1."
82 }
83
84 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_BAUD {
85 display "Baud rate for the PowerPC QUICC/SMC serial port 1"
86 flavor data
87 legal_values { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
88 4800 7200 9600 14400 19200 38400 57600 115200 234000
89 }
90 default_value 38400
91 description "
92 This option specifies the default baud rate (speed) for the
93 PowerPC QUICC/SMC port 1."
94 }
95
96 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_BUFSIZE {
97 display "Buffer size for the PowerPC QUICC/SMC serial port 1"
98 flavor data
99 legal_values 0 to 8192
100 default_value 256
101 description "
102 This option specifies the size of the internal buffers used
103 for the PowerPC QUICC/SMC port 1."
104 }
105
106 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_BRG {
107 display "Which baud rate generator to use for the PowerPC QUICC/SMC serial port 1"
108 flavor data
109 legal_values 1 to 4
110 default_value 1
111 description "
112 This option specifies which of the four baud rate generators
113 to use 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 default_value 1
161 description "
162 This option includes the serial device driver for the PowerPC
163 QUICC/SMC port 2."
164
165 cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_NAME {
166 display "Device name for PowerPC QUICC/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 QUICC/SMC port 2."
172 }
173
174 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_BAUD {
175 display "Baud rate for the PowerPC QUICC/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 234000
179 }
180 default_value 38400
181 description "
182 This option specifies the default baud rate (speed) for the
183 PowerPC QUICC/SMC port 2."
184 }
185
186 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_BUFSIZE {
187 display "Buffer size for the PowerPC QUICC/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 QUICC/SMC port 2."
194 }
195
196 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_BRG {
197 display "Which baud rate generator to use for the PowerPC QUICC/SMC serial port 2"
198 flavor data
199 legal_values 1 to 4
200 default_value 2
201 description "
202 This option specifies which of the four baud rate generators
203 to use for the PowerPC QUICC/SMC port 2."
204 }
205
206 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_TxSIZE {
207 display "Output buffer size for the PowerPC QUICC/SMC serial port 2"
208 flavor data
209 legal_values 16 to 128
210 default_value 16
211 description "
212 This option specifies the maximum number of characters per
213 transmit request to be used for the PowerPC QUICC/SMC port 2."
214 }
215
216 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_TxNUM {
217 display "Number of output buffers for the PowerPC QUICC/SMC serial port 2"
218 flavor data
219 legal_values 2 to 16
220 default_value 4
221 description "
222 This option specifies the number of output buffer packets
223 to be used for the PowerPC QUICC/SMC port 2."
224 }
225
226 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_RxSIZE {
227 display "Input buffer size for the PowerPC QUICC/SMC serial port 2"
228 flavor data
229 legal_values 16 to 128
230 default_value 16
231 description "
232 This option specifies the maximum number of characters per receive
233 request to be used for the PowerPC QUICC/SMC port 2."
234 }
235
236 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_RxNUM {
237 display "Number of output buffers for the PowerPC QUICC/SMC serial port 2"
238 flavor data
239 legal_values 2 to 16
240 default_value 4
241 description "
242 This option specifies the number of input buffer packets
243 to be used for the PowerPC QUICC/SMC port 2."
244 }
245 }
246
247 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_OPTIONS {
248 display "Serial device driver build options"
249 flavor none
250 description "
251 Package specific build options including control over
252 compiler flags used only in building this package,
253 and details of which tests are built."
254
255
256 cdl_option CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_CFLAGS_ADD {
257 display "Additional compiler flags"
258 flavor data
259 no_define
260 default_value { "" }
261 description "
262 This option modifies the set of compiler flags for
263 building these serial device drivers. These flags are used in addition
264 to the set of global flags."
265 }
266
267 cdl_option CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_CFLAGS_REMOVE {
268 display "Suppressed compiler flags"
269 flavor data
270 no_define
271 default_value { "" }
272 description "
273 This option modifies the set of compiler flags for
274 building these serial device drivers. These flags are removed from
275 the set of global flags if present."
276 }
277 }
278 }
279
280 # EOF ser_quicc_smc.cdl