1 |
27 |
unneback |
# ====================================================================
|
2 |
|
|
#
|
3 |
|
|
# tty.cdl
|
4 |
|
|
#
|
5 |
|
|
# eCos serial TTY 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 |
|
|
##
|
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.
|
16 |
|
|
##
|
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
|
20 |
|
|
## for more details.
|
21 |
|
|
##
|
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.
|
25 |
|
|
##
|
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.
|
32 |
|
|
##
|
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.
|
35 |
|
|
##
|
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####
|
42 |
|
|
#
|
43 |
|
|
# Author(s): jskov
|
44 |
|
|
# Original data: gthomas
|
45 |
|
|
# Contributors:
|
46 |
|
|
# Date: 1999-07-07
|
47 |
|
|
#
|
48 |
|
|
#####DESCRIPTIONEND####
|
49 |
|
|
#
|
50 |
|
|
# ====================================================================
|
51 |
|
|
|
52 |
|
|
cdl_component CYGPKG_IO_SERIAL_HALDIAG {
|
53 |
|
|
display "HAL/diag serial device driver"
|
54 |
|
|
flavor bool
|
55 |
|
|
default_value 1
|
56 |
|
|
description "
|
57 |
|
|
This option enables the use of the HAL diagnostic channel
|
58 |
|
|
via the standard I/O drivers."
|
59 |
|
|
compile -library=libextras.a common/haldiag.c
|
60 |
|
|
}
|
61 |
|
|
|
62 |
|
|
cdl_option CYGDAT_IO_SERIAL_TTY_CONSOLE {
|
63 |
|
|
display "Console device name"
|
64 |
|
|
flavor data
|
65 |
|
|
default_value {"\"/dev/ttydiag\""}
|
66 |
|
|
description "
|
67 |
|
|
This option selects the TTY device to use for the console."
|
68 |
|
|
}
|
69 |
|
|
|
70 |
|
|
cdl_component CYGPKG_IO_SERIAL_TTY_TTYDIAG {
|
71 |
|
|
display "TTY mode HAL/diag channel"
|
72 |
|
|
flavor bool
|
73 |
|
|
default_value 1
|
74 |
|
|
description "
|
75 |
|
|
This option causes '/dev/ttydiag' to be included in the standard
|
76 |
|
|
drivers."
|
77 |
|
|
}
|
78 |
|
|
|
79 |
|
|
cdl_component CYGPKG_IO_SERIAL_TTY_TTY0 {
|
80 |
|
|
display "TTY mode channel #0"
|
81 |
|
|
flavor bool
|
82 |
|
|
default_value 0
|
83 |
|
|
description "
|
84 |
|
|
This option causes '/dev/tty0' to be included in the standard
|
85 |
|
|
drivers."
|
86 |
|
|
|
87 |
|
|
cdl_option CYGDAT_IO_SERIAL_TTY_TTY0_DEV {
|
88 |
|
|
display "TTY mode channel #0 device"
|
89 |
|
|
flavor data
|
90 |
|
|
default_value { "\"/dev/ser0\"" }
|
91 |
|
|
description "
|
92 |
|
|
This option selects the physical device to use for
|
93 |
|
|
'/dev/tty0'."
|
94 |
|
|
}
|
95 |
|
|
}
|
96 |
|
|
cdl_component CYGPKG_IO_SERIAL_TTY_TTY1 {
|
97 |
|
|
display "TTY mode channel #1"
|
98 |
|
|
flavor bool
|
99 |
|
|
default_value 0
|
100 |
|
|
description "
|
101 |
|
|
This option causes '/dev/tty1' to be included in the standard
|
102 |
|
|
drivers."
|
103 |
|
|
|
104 |
|
|
cdl_option CYGDAT_IO_SERIAL_TTY_TTY1_DEV {
|
105 |
|
|
display "TTY mode channel #1 device"
|
106 |
|
|
flavor data
|
107 |
|
|
default_value {"\"/dev/ser1\""}
|
108 |
|
|
description "
|
109 |
|
|
This option selects the physical device to use for
|
110 |
|
|
'/dev/tty1'."
|
111 |
|
|
}
|
112 |
|
|
}
|
113 |
|
|
|
114 |
|
|
cdl_component CYGPKG_IO_SERIAL_TTY_TTY2 {
|
115 |
|
|
display "TTY mode channel #2"
|
116 |
|
|
flavor bool
|
117 |
|
|
default_value 0
|
118 |
|
|
description "
|
119 |
|
|
This option causes '/dev/tty2' to be included in the standard
|
120 |
|
|
drivers."
|
121 |
|
|
|
122 |
|
|
cdl_option CYGDAT_IO_SERIAL_TTY_TTY2_DEV {
|
123 |
|
|
display "TTY mode channel #2 device"
|
124 |
|
|
flavor data
|
125 |
|
|
default_value {"\"/dev/ser2\""}
|
126 |
|
|
description "
|
127 |
|
|
This option selects the physical device to use for
|
128 |
|
|
'/dev/tty2'."
|
129 |
|
|
}
|
130 |
|
|
}
|