OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [devs/] [serial/] [powerpc/] [quicc/] [v2_0/] [cdl/] [ser_quicc_smc.cdl] - Blame information for rev 27

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
# ====================================================================
2
#
3
#      ser_quicc_smc.cdl
4
#
5
#      eCos serial PowerPC/QUICC SMC 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):      jskov
45
# Original data:  gthomas
46
# Contributors:
47
# Date:           1999-07-14
48
#
49
#####DESCRIPTIONEND####
50
#
51
# ====================================================================
52
 
53
 
54
cdl_package CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC {
55
    display       "PowerPC QUICC/SMC serial device drivers"
56
 
57
    parent        CYGPKG_IO_SERIAL_DEVICES
58
    active_if     CYGPKG_IO_SERIAL
59
    active_if     CYGPKG_HAL_QUICC
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 QUICC/SMC."
67
 
68
    compile       -library=libextras.a   quicc_smc_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_QUICC_SMC_SMC1 {
77
    display       "PowerPC QUICC/SMC serial port 1 driver"
78
    flavor        bool
79
    requires      CYGNUM_HAL_QUICC_SMC1
80
    default_value 1
81
    description   "
82
        This option includes the serial device driver for the PowerPC
83
        QUICC/SMC port 1."
84
 
85
    cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_NAME {
86
        display       "Device name for PowerPC QUICC/SMC serial port 1"
87
        flavor        data
88
        default_value {"\"/dev/ser1\""}
89
        description   "
90
            This option specifies the device name for the PowerPC
91
            QUICC/SMC port 1."
92
    }
93
 
94
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_BAUD {
95
        display       "Baud rate for the PowerPC QUICC/SMC serial port 1"
96
        flavor        data
97
        legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
98
                      4800 7200 9600 14400 19200 38400 57600 115200 230400
99
        }
100
        default_value 38400
101
        description   "
102
            This option specifies the default baud rate (speed) for the
103
            PowerPC QUICC/SMC port 1."
104
    }
105
 
106
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_BUFSIZE {
107
        display       "Buffer size for the PowerPC QUICC/SMC serial port 1"
108
        flavor        data
109
        legal_values  0 to 8192
110
        default_value 256
111
        description   "
112
            This option specifies the size of the internal buffers used
113
            for the PowerPC QUICC/SMC port 1."
114
    }
115
 
116
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_BRG {
117
        display       "Which baud rate generator to use for the PowerPC QUICC/SMC serial port 1"
118
        flavor        data
119
        legal_values  1 to 4
120
        default_value 1
121
        description   "
122
            This option specifies which of the four baud rate generators
123
            to use for the PowerPC QUICC/SMC port 1."
124
    }
125
 
126
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_TxSIZE {
127
        display       "Output buffer size for the PowerPC QUICC/SMC serial port 1"
128
        flavor        data
129
        legal_values  16 to 128
130
        default_value 16
131
        description   "
132
            This option specifies the maximum number of characters per
133
            transmit request to be used for the PowerPC QUICC/SMC port 1."
134
    }
135
 
136
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_TxNUM {
137
        display       "Number of output buffers for the PowerPC QUICC/SMC serial port 1"
138
        flavor        data
139
        legal_values  2 to 16
140
        default_value 4
141
        description   "
142
            This option specifies the number of output buffer packets
143
            to be used for the PowerPC QUICC/SMC port 1."
144
    }
145
 
146
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_RxSIZE {
147
        display       "Input buffer size for the PowerPC QUICC/SMC serial port 1"
148
        flavor        data
149
        legal_values  16 to 128
150
        default_value 16
151
        description   "
152
            This option specifies the maximum number of characters per receive
153
            request to be used for the PowerPC QUICC/SMC port 1."
154
    }
155
 
156
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC1_RxNUM {
157
        display       "Number of input buffers for the PowerPC QUICC/SMC serial port 1"
158
        flavor        data
159
        legal_values  2 to 16
160
        default_value 4
161
        description   "
162
            This option specifies the number of input buffer packets
163
            to be used for the PowerPC QUICC/SMC port 1."
164
    }
165
}
166
 
167
cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SMC2 {
168
    display       "PowerPC QUICC/SMC serial port 2 driver"
169
    flavor        bool
170
    requires      CYGNUM_HAL_QUICC_SMC2
171
    default_value 1
172
    description   "
173
        This option includes the serial device driver for the PowerPC
174
        QUICC/SMC port 2."
175
 
176
    cdl_option CYGDAT_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_NAME {
177
        display       "Device name for PowerPC QUICC/SMC serial port 2"
178
        flavor        data
179
        default_value {"\"/dev/ser2\""}
180
        description   "
181
            This option specifies the device name for the PowerPC
182
            QUICC/SMC port 2."
183
    }
184
 
185
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_BAUD {
186
        display       "Baud rate for the PowerPC QUICC/SMC serial port 2"
187
        flavor        data
188
        legal_values  { 50 75 110 "134_5" 150 200 300 600 1200 1800 2400 3600
189
                      4800 7200 9600 14400 19200 38400 57600 115200 230400
190
        }
191
        default_value 38400
192
        description   "
193
            This option specifies the default baud rate (speed) for the
194
            PowerPC QUICC/SMC port 2."
195
    }
196
 
197
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_BUFSIZE {
198
        display       "Buffer size for the PowerPC QUICC/SMC serial port 2"
199
        flavor        data
200
        legal_values  0 to 8192
201
        default_value 256
202
        description   "
203
            This option specifies the size of the internal buffers used
204
            for the PowerPC QUICC/SMC port 2."
205
    }
206
 
207
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_BRG {
208
        display       "Which baud rate generator to use for the PowerPC QUICC/SMC serial port 2"
209
        flavor        data
210
        legal_values  1 to 4
211
        default_value 2
212
        description   "
213
            This option specifies which of the four baud rate generators
214
            to use for the PowerPC QUICC/SMC port 2."
215
    }
216
 
217
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_TxSIZE {
218
        display       "Output buffer size for the PowerPC QUICC/SMC serial port 2"
219
        flavor        data
220
        legal_values  16 to 128
221
        default_value 16
222
        description   "
223
            This option specifies the maximum number of characters per
224
            transmit request to be used for the PowerPC QUICC/SMC port 2."
225
    }
226
 
227
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_TxNUM {
228
        display       "Number of output buffers for the PowerPC QUICC/SMC serial port 2"
229
        flavor        data
230
        legal_values  2 to 16
231
        default_value 4
232
        description   "
233
            This option specifies the number of output buffer packets
234
            to be used for the PowerPC QUICC/SMC port 2."
235
    }
236
 
237
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_RxSIZE {
238
        display       "Input buffer size for the PowerPC QUICC/SMC serial port 2"
239
        flavor        data
240
        legal_values  16 to 128
241
        default_value 16
242
        description   "
243
            This option specifies the maximum number of characters per receive
244
            request to be used for the PowerPC QUICC/SMC port 2."
245
    }
246
 
247
    cdl_option CYGNUM_IO_SERIAL_POWERPC_QUICC_SMC_SMC2_RxNUM {
248
        display       "Number of output buffers for the PowerPC QUICC/SMC serial port 2"
249
        flavor        data
250
        legal_values  2 to 16
251
        default_value 4
252
        description   "
253
            This option specifies the number of input buffer packets
254
            to be used for the PowerPC QUICC/SMC port 2."
255
    }
256
}
257
 
258
    cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_OPTIONS {
259
        display "Serial device driver build options"
260
        flavor  none
261
        description   "
262
            Package specific build options including control over
263
            compiler flags used only in building this package,
264
            and details of which tests are built."
265
 
266
 
267
        cdl_option CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_CFLAGS_ADD {
268
            display "Additional 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 used in addition
275
                to the set of global flags."
276
        }
277
 
278
        cdl_option CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_CFLAGS_REMOVE {
279
            display "Suppressed compiler flags"
280
            flavor  data
281
            no_define
282
            default_value { "" }
283
            description   "
284
                This option modifies the set of compiler flags for
285
                building these serial device drivers. These flags are removed from
286
                the set of global flags if present."
287
        }
288
    }
289
}
290
 
291
# EOF ser_quicc_smc.cdl

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.