1 |
27 |
unneback |
# ====================================================================
|
2 |
|
|
#
|
3 |
|
|
# ser_quicc2_scc.cdl
|
4 |
|
|
#
|
5 |
|
|
# eCos serial PowerPC/QUICC2 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 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): mtek
|
45 |
|
|
# Original data: gthomas
|
46 |
|
|
# Contributors:
|
47 |
|
|
# Date: 2002-02-27
|
48 |
|
|
#
|
49 |
|
|
#####DESCRIPTIONEND####
|
50 |
|
|
#
|
51 |
|
|
# ====================================================================
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
cdl_package CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC {
|
55 |
|
|
display "PowerPC QUICC2/SCC serial device drivers"
|
56 |
|
|
|
57 |
|
|
parent CYGPKG_IO_SERIAL_DEVICES
|
58 |
|
|
active_if CYGPKG_IO_SERIAL
|
59 |
|
|
active_if CYGPKG_HAL_POWERPC_MPC8260
|
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 QUICC2/SCC."
|
67 |
|
|
|
68 |
|
|
compile -library=libextras.a quicc2_scc_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 "
|
73 |
|
|
puts $::cdl_system_header "/***** serial driver proc output end *****/"
|
74 |
|
|
}
|
75 |
|
|
|
76 |
|
|
cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1 {
|
77 |
|
|
display "PowerPC QUICC2/SCC serial port 1 driver"
|
78 |
|
|
flavor bool
|
79 |
|
|
default_value 1
|
80 |
|
|
description "
|
81 |
|
|
This option includes the serial device driver for the PowerPC
|
82 |
|
|
QUICC2/SCC port 1."
|
83 |
|
|
|
84 |
|
|
cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_NAME {
|
85 |
|
|
display "Device name for PowerPC QUICC2/SCC serial port 1"
|
86 |
|
|
flavor data
|
87 |
|
|
default_value {"\"/dev/ser1\""}
|
88 |
|
|
description "
|
89 |
|
|
This option specifies the device name for the PowerPC
|
90 |
|
|
QUICC2/SCC port 1."
|
91 |
|
|
}
|
92 |
|
|
|
93 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_BAUD {
|
94 |
|
|
display "Baud rate for the PowerPC QUICC2/SCC 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 9600
|
100 |
|
|
description "
|
101 |
|
|
This option specifies the default baud rate (speed) for the
|
102 |
|
|
PowerPC QUICC2/SCC port 1."
|
103 |
|
|
}
|
104 |
|
|
|
105 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_BUFSIZE {
|
106 |
|
|
display "Buffer size for the PowerPC QUICC2/SCC 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 QUICC2/SCC port 1."
|
113 |
|
|
}
|
114 |
|
|
|
115 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_BRG {
|
116 |
|
|
display "Which baud rate generator to use for the PowerPC QUICC2/SCC serial port 1"
|
117 |
|
|
flavor data
|
118 |
|
|
legal_values 1 to 4
|
119 |
|
|
default_value 1
|
120 |
|
|
description "
|
121 |
|
|
This option specifies which of the four baud rate generators
|
122 |
|
|
to use for the PowerPC QUICC2/SCC port 1."
|
123 |
|
|
}
|
124 |
|
|
|
125 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_TxSIZE {
|
126 |
|
|
display "Output buffer size for the PowerPC QUICC2/SCC serial port 1"
|
127 |
|
|
flavor data
|
128 |
|
|
legal_values 16 to 128
|
129 |
|
|
default_value 16
|
130 |
|
|
description "
|
131 |
|
|
This option specifies the maximum number of characters per
|
132 |
|
|
transmit request to be used for the PowerPC QUICC2/SCC port 1."
|
133 |
|
|
}
|
134 |
|
|
|
135 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_TxNUM {
|
136 |
|
|
display "Number of output buffers for the PowerPC QUICC2/SCC serial port 1"
|
137 |
|
|
flavor data
|
138 |
|
|
legal_values 2 to 16
|
139 |
|
|
default_value 4
|
140 |
|
|
description "
|
141 |
|
|
This option specifies the number of output buffer packets
|
142 |
|
|
to be used for the PowerPC QUICC2/SCC port 1."
|
143 |
|
|
}
|
144 |
|
|
|
145 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_RxSIZE {
|
146 |
|
|
display "Input buffer size for the PowerPC QUICC2/SCC serial port 1"
|
147 |
|
|
flavor data
|
148 |
|
|
legal_values 16 to 128
|
149 |
|
|
default_value 16
|
150 |
|
|
description "
|
151 |
|
|
This option specifies the maximum number of characters per receive
|
152 |
|
|
request to be used for the PowerPC QUICC2/SCC port 1."
|
153 |
|
|
}
|
154 |
|
|
|
155 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_RxNUM {
|
156 |
|
|
display "Number of input buffers for the PowerPC QUICC2/SCC serial port 1"
|
157 |
|
|
flavor data
|
158 |
|
|
legal_values 2 to 16
|
159 |
|
|
default_value 4
|
160 |
|
|
description "
|
161 |
|
|
This option specifies the number of input buffer packets
|
162 |
|
|
to be used for the PowerPC QUICC2/SCC port 1."
|
163 |
|
|
}
|
164 |
|
|
}
|
165 |
|
|
|
166 |
|
|
cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2 {
|
167 |
|
|
display "PowerPC QUICC2/SCC serial port 2 driver"
|
168 |
|
|
flavor bool
|
169 |
|
|
default_value 1
|
170 |
|
|
description "
|
171 |
|
|
This option includes the serial device driver for the PowerPC
|
172 |
|
|
QUICC2/SCC port 2."
|
173 |
|
|
|
174 |
|
|
cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_NAME {
|
175 |
|
|
display "Device name for PowerPC QUICC2/SCC serial port 2"
|
176 |
|
|
flavor data
|
177 |
|
|
default_value {"\"/dev/ser2\""}
|
178 |
|
|
description "
|
179 |
|
|
This option specifies the device name for the PowerPC
|
180 |
|
|
QUICC2/SCC port 2."
|
181 |
|
|
}
|
182 |
|
|
|
183 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_BAUD {
|
184 |
|
|
display "Baud rate for the PowerPC QUICC2/SCC serial port 2"
|
185 |
|
|
flavor data
|
186 |
|
|
legal_values { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
|
187 |
|
|
4800 7200 9600 14400 19200 38400 57600 115200 230400
|
188 |
|
|
}
|
189 |
|
|
default_value 9600
|
190 |
|
|
description "
|
191 |
|
|
This option specifies the default baud rate (speed) for the
|
192 |
|
|
PowerPC QUICC2/SCC port 2."
|
193 |
|
|
}
|
194 |
|
|
|
195 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_BUFSIZE {
|
196 |
|
|
display "Buffer size for the PowerPC QUICC2/SCC serial port 2"
|
197 |
|
|
flavor data
|
198 |
|
|
legal_values 0 to 8192
|
199 |
|
|
default_value 256
|
200 |
|
|
description "
|
201 |
|
|
This option specifies the size of the internal buffers used
|
202 |
|
|
for the PowerPC QUICC2/SCC port 2."
|
203 |
|
|
}
|
204 |
|
|
|
205 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_BRG {
|
206 |
|
|
display "Which baud rate generator to use for the PowerPC QUICC2/SCC serial port 2"
|
207 |
|
|
flavor data
|
208 |
|
|
legal_values 1 to 4
|
209 |
|
|
default_value 2
|
210 |
|
|
description "
|
211 |
|
|
This option specifies which of the four baud rate generators
|
212 |
|
|
to use for the PowerPC QUICC2/SCC port 2."
|
213 |
|
|
}
|
214 |
|
|
|
215 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_TxSIZE {
|
216 |
|
|
display "Output buffer size for the PowerPC QUICC2/SCC serial port 2"
|
217 |
|
|
flavor data
|
218 |
|
|
legal_values 16 to 128
|
219 |
|
|
default_value 16
|
220 |
|
|
description "
|
221 |
|
|
This option specifies the maximum number of characters per
|
222 |
|
|
transmit request to be used for the PowerPC QUICC2/SCC port 2."
|
223 |
|
|
}
|
224 |
|
|
|
225 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_TxNUM {
|
226 |
|
|
display "Number of output buffers for the PowerPC QUICC2/SCC serial port 2"
|
227 |
|
|
flavor data
|
228 |
|
|
legal_values 2 to 16
|
229 |
|
|
default_value 4
|
230 |
|
|
description "
|
231 |
|
|
This option specifies the number of output buffer packets
|
232 |
|
|
to be used for the PowerPC QUICC2/SCC port 2."
|
233 |
|
|
}
|
234 |
|
|
|
235 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_RxSIZE {
|
236 |
|
|
display "Input buffer size for the PowerPC QUICC2/SCC serial port 2"
|
237 |
|
|
flavor data
|
238 |
|
|
legal_values 16 to 128
|
239 |
|
|
default_value 16
|
240 |
|
|
description "
|
241 |
|
|
This option specifies the maximum number of characters per receive
|
242 |
|
|
request to be used for the PowerPC QUICC2/SCC port 2."
|
243 |
|
|
}
|
244 |
|
|
|
245 |
|
|
cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_RxNUM {
|
246 |
|
|
display "Number of output buffers for the PowerPC QUICC2/SCC serial port 2"
|
247 |
|
|
flavor data
|
248 |
|
|
legal_values 2 to 16
|
249 |
|
|
default_value 4
|
250 |
|
|
description "
|
251 |
|
|
This option specifies the number of input buffer packets
|
252 |
|
|
to be used for the PowerPC QUICC2/SCC port 2."
|
253 |
|
|
}
|
254 |
|
|
}
|
255 |
|
|
|
256 |
|
|
cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC_OPTIONS {
|
257 |
|
|
display "Serial device driver build options"
|
258 |
|
|
flavor none
|
259 |
|
|
description "
|
260 |
|
|
Package specific build options including control over
|
261 |
|
|
compiler flags used only in building this package,
|
262 |
|
|
and details of which tests are built."
|
263 |
|
|
|
264 |
|
|
|
265 |
|
|
cdl_option CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC_CFLAGS_ADD {
|
266 |
|
|
display "Additional compiler flags"
|
267 |
|
|
flavor data
|
268 |
|
|
no_define
|
269 |
|
|
default_value { "" }
|
270 |
|
|
description "
|
271 |
|
|
This option modifies the set of compiler flags for
|
272 |
|
|
building these serial device drivers. These flags are used in addition
|
273 |
|
|
to the set of global flags."
|
274 |
|
|
}
|
275 |
|
|
|
276 |
|
|
cdl_option CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC_CFLAGS_REMOVE {
|
277 |
|
|
display "Suppressed compiler flags"
|
278 |
|
|
flavor data
|
279 |
|
|
no_define
|
280 |
|
|
default_value { "" }
|
281 |
|
|
description "
|
282 |
|
|
This option modifies the set of compiler flags for
|
283 |
|
|
building these serial device drivers. These flags are removed from
|
284 |
|
|
the set of global flags if present."
|
285 |
|
|
}
|
286 |
|
|
}
|
287 |
|
|
}
|
288 |
|
|
|
289 |
|
|
# EOF ser_quicc_smc.cdl
|