1 # ====================================================================
5 # eCos serial ARM Industrial Module AIM 711 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.
13 ## eCos is free software; you can redistribute it and/or modify it under
14 ## the terms of the GNU General Public License as published by the Free
15 ## Software Foundation; either version 2 or (at your option) any later version.
17 ## eCos is distributed in the hope that it will be useful, but WITHOUT ANY
18 ## WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 ## FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 ## You should have received a copy of the GNU General Public License along
23 ## with eCos; if not, write to the Free Software Foundation, Inc.,
24 ## 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
26 ## As a special exception, if other files instantiate templates or use macros
27 ## or inline functions from this file, or you compile this file and link it
28 ## with other works to produce a work based on this file, this file does not
29 ## by itself cause the resulting work to be covered by the GNU General Public
30 ## License. However the source code for this file must still be made available
31 ## in accordance with section (3) of the GNU General Public License.
33 ## This exception does not invalidate any other reasons why a work based on
34 ## this file might be covered by the GNU General Public License.
36 ## Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
37 ## at http://sources.redhat.com/ecos/ecos-license/
38 ## -------------------------------------------
39 #####ECOSGPLCOPYRIGHTEND####
40 # ====================================================================
41 ######DESCRIPTIONBEGIN####
43 # Author(s): Lars.Lindqvist@combitechsystems.com, rcassebohm
44 # Contributors: jlarmour, rcassebohm
47 #####DESCRIPTIONEND####
49 # ====================================================================
52 cdl_package CYGPKG_IO_SERIAL_ARM_AIM711 {
53 display "ARM Industrial Module AIM 711 serial device drivers"
55 parent CYGPKG_IO_SERIAL_DEVICES
56 active_if CYGPKG_IO_SERIAL
57 active_if CYGPKG_HAL_ARM_AIM711
61 This package contains serial device drivers for the
62 ARM Industrial Module AIM 711."
65 puts $::cdl_system_header "/***** serial driver proc output start *****/"
66 puts $::cdl_system_header "#ifndef CYGDAT_IO_SERIAL_DEVICE_HEADER"
67 puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_DEVICE_HEADER <pkgconf/io_serial_arm_aim711.h>"
68 puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_GENERIC_16X5X_INL <cyg/io/ser_arm_aim711_16x5x.inl>"
69 puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_GENERIC_16X5X_CFG <pkgconf/io_serial_arm_aim711.h>"
70 puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_ARM_S3C4510_INL <cyg/io/ser_arm_aim711_s3c4510.inl>"
71 puts $::cdl_system_header "#define CYGDAT_IO_SERIAL_ARM_S3C4510_CFG <pkgconf/io_serial_arm_aim711.h>"
72 puts $::cdl_system_header "#endif"
73 puts $::cdl_system_header "/***** serial driver proc output end *****/"
74 puts $::cdl_header "#include <pkgconf/system.h>";
75 puts $::cdl_header "#include <pkgconf/io_serial_arm_s3c4510.h>";
76 puts $::cdl_header "#include <pkgconf/io_serial_generic_16x5x.h>";
79 cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_16X5X {
80 display "ARM Industrial Module AIM 711 16x5x serial device drivers"
82 parent CYGPKG_IO_SERIAL_DEVICES
83 active_if CYGPKG_IO_SERIAL
84 active_if CYGPKG_HAL_ARM_AIM711
89 This package contains serial device drivers for the
90 ARM Industrial Module AIM 711 for the 16550 serial
93 # FIXME: This really belongs in the GENERIC_16X5X package
94 cdl_interface CYGINT_IO_SERIAL_GENERIC_16X5X_REQUIRED {
95 display "Generic 16x5x serial driver required"
98 cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0 {
99 display "AIM 711 16X5X serial port 0 driver (COM1)"
103 This option includes the serial device driver for the AIM 711 16X5X
104 port 0, which is COM1 on the AIM 711."
106 implements CYGINT_IO_SERIAL_GENERIC_16X5X_REQUIRED
107 implements CYGINT_IO_SERIAL_FLOW_CONTROL_HW
108 implements CYGINT_IO_SERIAL_LINE_STATUS_HW
110 cdl_option CYGDAT_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0_NAME {
111 display "Device name for the AIM 711 16X5X serial port 0 driver (COM1)"
113 default_value {"\"/dev/ser1\""}
115 This option sets the name of the serial device for the AIM 711
116 16X5X port 0 (COM1)."
119 cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0_BAUD {
120 display "Baud rate for the AIM 711 16X5X serial port 0 driver"
122 legal_values { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
123 4800 7200 9600 14400 19200 38400 57600 115200 230400
127 This option specifies the default baud rate (speed) for the
128 AIM 711 16X5X port 0."
131 cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0_BUFSIZE {
132 display "Buffer size for the AIM 711 16X5X serial port 0 driver"
134 legal_values 0 to 8192
137 This option specifies the size of the internal buffers used for
138 the AIM 711 16X5X port 0."
143 cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_S3C4510 {
144 display "ARM Industrial Module AIM 711 S3C4510 serial device drivers"
146 parent CYGPKG_IO_SERIAL_DEVICES
147 active_if CYGPKG_IO_SERIAL
148 active_if CYGPKG_HAL_ARM_AIM711
151 requires CYGPKG_ERROR
153 This package contains serial device drivers for the
154 ARM Industrial Module AIM 711 for the internal serial
155 interface of the S3C4510."
157 # FIXME: This really belongs in the SERIAL_ARM_S3C4510 package
158 cdl_interface CYGINT_IO_SERIAL_ARM_S3C4510_REQUIRED {
159 display "Generic s3c4510 serial driver required"
162 cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL0 {
163 display "AIM 711 S3C4510 serial port 0 driver (service adapter)"
167 This option includes the serial device driver for the AIM 711 S3C4510
168 port 0, which is on the AIM 711 the port on the service adapter."
170 implements CYGINT_IO_SERIAL_ARM_S3C4510_REQUIRED
172 cdl_option CYGDAT_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL0_NAME {
173 display "Device name for the AIM 711 S3C4510 serial port 0 driver (service adapter)"
175 default_value {"\"/dev/ser0\""}
177 This option sets the name of the serial device for the AIM 711
178 S3C4510 port 0 (service adapter)."
181 cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL0_BAUD {
182 display "Baud rate for the AIM 711 S3C4510 serial port 0 driver"
184 legal_values { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
185 4800 7200 9600 14400 19200 38400 57600 115200 230400
189 This option specifies the default baud rate (speed) for the
190 AIM 711 S3C4510 port 0."
193 cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL0_BUFSIZE {
194 display "Buffer size for the AIM 711 S3C4510 serial port 0 driver"
196 legal_values 0 to 8192
199 This option specifies the size of the internal buffers used for
200 the AIM 711 S3C4510 port 0."
204 cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL1 {
205 display "AIM 711 S3C4510 serial port 1 driver (COM2)"
209 This option includes the serial device driver for the AIM 711
210 S3C4510 port 1, which is the COM2 on the AIM 711."
212 implements CYGINT_IO_SERIAL_ARM_S3C4510_REQUIRED
214 cdl_option CYGDAT_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL1_NAME {
215 display "Device name for the AIM 711 S3C4510 serial port 1 driver (COM2)"
217 default_value {"\"/dev/ser2\""}
219 This option specifies the name of serial device for the
220 AIM 711 S3C4510 port 1 (COM2)."
223 cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL1_BAUD {
224 display "Baud rate for the AIM 711 S3C4510 serial port 1 driver"
226 legal_values { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
227 4800 7200 9600 14400 19200 38400 57600 115200 230400
231 This option specifies the default baud rate (speed) for the
232 AIM 711 S3C4510 port 1."
235 cdl_option CYGNUM_IO_SERIAL_ARM_AIM711_S3C4510_SERIAL1_BUFSIZE {
236 display "Buffer size for the AIM 711 S3C4510 serial port 1 driver"
238 legal_values 0 to 8192
241 This option specifies the size of the internal buffers used
242 for the AIM 711 S3C4510 port 1."
247 cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_OPTIONS {
248 display "Serial device driver build options"
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."
256 cdl_option CYGPKG_IO_SERIAL_ARM_AIM711_CFLAGS_ADD {
257 display "Additional compiler flags"
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."
267 cdl_option CYGPKG_IO_SERIAL_ARM_AIM711_CFLAGS_REMOVE {
268 display "Suppressed compiler flags"
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."
279 cdl_component CYGPKG_IO_SERIAL_ARM_AIM711_TESTING {
280 display "Testing parameters"
283 active_if CYGPKG_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0
285 cdl_option CYGPRI_SER_TEST_SER_DEV {
286 display "Serial device used for testing"
288 default_value { CYGDAT_IO_SERIAL_ARM_AIM711_16X5X_SERIAL0_NAME }
292 puts $::cdl_header "#define CYGPRI_SER_TEST_CRASH_ID \"arm16x5x\""
293 puts $::cdl_header "#define CYGPRI_SER_TEST_TTY_DEV \"/dev/tty2\""
298 # EOF ser_arm_aim711.cdl