1 # ====================================================================
5 # eCos serial PowerPC/QUICC2 SCC configuration data
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
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.
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
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.
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.
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.
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####
45 # Original data: gthomas
49 #####DESCRIPTIONEND####
51 # ====================================================================
54 cdl_package CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC {
55 display "PowerPC QUICC2/SCC serial device drivers"
57 parent CYGPKG_IO_SERIAL_DEVICES
58 active_if CYGPKG_IO_SERIAL
59 active_if CYGPKG_HAL_POWERPC_MPC8260
63 include_files ; # none _exported_ whatsoever
65 This option enables the serial device drivers for the
68 compile -library=libextras.a quicc2_scc_serial.c
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_quicc2_scc.h>"
73 puts $::cdl_system_header "/***** serial driver proc output end *****/"
76 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1 {
77 display "PowerPC QUICC2/SCC serial port 1 driver"
81 This option includes the serial device driver for the PowerPC
84 cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_NAME {
85 display "Device name for PowerPC QUICC2/SCC serial port 1"
87 default_value {"\"/dev/ser1\""}
89 This option specifies the device name for the PowerPC
93 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_BAUD {
94 display "Baud rate for the PowerPC QUICC2/SCC serial port 1"
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
101 This option specifies the default baud rate (speed) for the
102 PowerPC QUICC2/SCC port 1."
105 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_BUFSIZE {
106 display "Buffer size for the PowerPC QUICC2/SCC serial port 1"
108 legal_values 0 to 8192
111 This option specifies the size of the internal buffers used
112 for the PowerPC QUICC2/SCC port 1."
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"
121 This option specifies which of the four baud rate generators
122 to use for the PowerPC QUICC2/SCC port 1."
125 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_TxSIZE {
126 display "Output buffer size for the PowerPC QUICC2/SCC serial port 1"
128 legal_values 16 to 128
131 This option specifies the maximum number of characters per
132 transmit request to be used for the PowerPC QUICC2/SCC port 1."
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"
141 This option specifies the number of output buffer packets
142 to be used for the PowerPC QUICC2/SCC port 1."
145 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC1_RxSIZE {
146 display "Input buffer size for the PowerPC QUICC2/SCC serial port 1"
148 legal_values 16 to 128
151 This option specifies the maximum number of characters per receive
152 request to be used for the PowerPC QUICC2/SCC port 1."
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"
161 This option specifies the number of input buffer packets
162 to be used for the PowerPC QUICC2/SCC port 1."
166 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2 {
167 display "PowerPC QUICC2/SCC serial port 2 driver"
171 This option includes the serial device driver for the PowerPC
174 cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_NAME {
175 display "Device name for PowerPC QUICC2/SCC serial port 2"
177 default_value {"\"/dev/ser2\""}
179 This option specifies the device name for the PowerPC
183 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_BAUD {
184 display "Baud rate for the PowerPC QUICC2/SCC serial port 2"
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
191 This option specifies the default baud rate (speed) for the
192 PowerPC QUICC2/SCC port 2."
195 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_BUFSIZE {
196 display "Buffer size for the PowerPC QUICC2/SCC serial port 2"
198 legal_values 0 to 8192
201 This option specifies the size of the internal buffers used
202 for the PowerPC QUICC2/SCC port 2."
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"
211 This option specifies which of the four baud rate generators
212 to use for the PowerPC QUICC2/SCC port 2."
215 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_TxSIZE {
216 display "Output buffer size for the PowerPC QUICC2/SCC serial port 2"
218 legal_values 16 to 128
221 This option specifies the maximum number of characters per
222 transmit request to be used for the PowerPC QUICC2/SCC port 2."
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"
231 This option specifies the number of output buffer packets
232 to be used for the PowerPC QUICC2/SCC port 2."
235 cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC2_SCC_SCC2_RxSIZE {
236 display "Input buffer size for the PowerPC QUICC2/SCC serial port 2"
238 legal_values 16 to 128
241 This option specifies the maximum number of characters per receive
242 request to be used for the PowerPC QUICC2/SCC port 2."
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"
251 This option specifies the number of input buffer packets
252 to be used for the PowerPC QUICC2/SCC port 2."
256 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC_OPTIONS {
257 display "Serial device driver build options"
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."
265 cdl_option CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC_CFLAGS_ADD {
266 display "Additional compiler flags"
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."
276 cdl_option CYGPKG_IO_SERIAL_POWERPC_QUICC2_SCC_CFLAGS_REMOVE {
277 display "Suppressed compiler flags"
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."
289 # EOF ser_quicc_smc.cdl