OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [io/] [serial/] [current/] [cdl/] [tty.cdl] - Blame information for rev 825

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

Line No. Rev Author Line
1 786 skrzyp
# ====================================================================
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 Free Software Foundation, 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
16
## version.
17
##
18
## eCos is distributed in the hope that it will be useful, but WITHOUT
19
## ANY 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
24
## along with eCos; if not, write to the Free Software Foundation, Inc.,
25
## 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
26
##
27
## As a special exception, if other files instantiate templates or use
28
## macros or inline functions from this file, or you compile this file
29
## and link it with other works to produce a work based on this file,
30
## this file does not by itself cause the resulting work to be covered by
31
## the GNU General Public License. However the source code for this file
32
## must still be made available in accordance with section (3) of the GNU
33
## General Public License v2.
34
##
35
## This exception does not invalidate any other reasons why a work based
36
## on this file might be covered by the GNU General Public License.
37
## -------------------------------------------
38
## ####ECOSGPLCOPYRIGHTEND####
39
# ====================================================================
40
######DESCRIPTIONBEGIN####
41
#
42
# Author(s):      jskov
43
# Original data:  gthomas
44
# Contributors:
45
# Date:           1999-07-07
46
#
47
#####DESCRIPTIONEND####
48
#
49
# ====================================================================
50
 
51
cdl_component CYGPKG_IO_SERIAL_HALDIAG {
52
    display       "HAL/diag serial device driver"
53
    flavor        bool
54
    default_value 1
55
    description   "
56
        This option enables the use of the HAL diagnostic channel
57
        via the standard I/O drivers."
58
    compile       -library=libextras.a common/haldiag.c
59
}
60
 
61
cdl_option CYGDAT_IO_SERIAL_TTY_CONSOLE {
62
    display       "Console device name"
63
    flavor        data
64
    default_value {"\"/dev/ttydiag\""}
65
    description   "
66
        This option selects the TTY device to use for the console."
67
}
68
 
69
cdl_component CYGPKG_IO_SERIAL_TTY_TTYDIAG {
70
    display       "TTY mode HAL/diag channel"
71
    flavor        bool
72
    default_value 1
73
    description   "
74
        This option causes '/dev/ttydiag' to be included in the standard
75
        drivers."
76
}
77
 
78
cdl_component CYGPKG_IO_SERIAL_TTY_TTY0 {
79
    display       "TTY mode channel #0"
80
    flavor        bool
81
    default_value 0
82
    description   "
83
        This option causes '/dev/tty0' to be included in the standard
84
        drivers."
85
 
86
    cdl_option CYGDAT_IO_SERIAL_TTY_TTY0_DEV {
87
        display       "TTY mode channel #0 device"
88
        flavor        data
89
        default_value { "\"/dev/ser0\"" }
90
        description   "
91
            This option selects the physical device to use for
92
            '/dev/tty0'."
93
    }
94
}
95
cdl_component CYGPKG_IO_SERIAL_TTY_TTY1 {
96
    display       "TTY mode channel #1"
97
    flavor        bool
98
    default_value 0
99
    description   "
100
        This option causes '/dev/tty1' to be included in the standard
101
        drivers."
102
 
103
    cdl_option CYGDAT_IO_SERIAL_TTY_TTY1_DEV {
104
        display       "TTY mode channel #1 device"
105
        flavor        data
106
        default_value {"\"/dev/ser1\""}
107
        description   "
108
            This option selects the physical device to use for
109
            '/dev/tty1'."
110
    }
111
}
112
 
113
cdl_component CYGPKG_IO_SERIAL_TTY_TTY2 {
114
    display       "TTY mode channel #2"
115
    flavor        bool
116
    default_value 0
117
    description   "
118
        This option causes '/dev/tty2' to be included in the standard
119
        drivers."
120
 
121
    cdl_option CYGDAT_IO_SERIAL_TTY_TTY2_DEV {
122
        display       "TTY mode channel #2 device"
123
        flavor        data
124
        default_value {"\"/dev/ser2\""}
125
        description   "
126
            This option selects the physical device to use for
127
            '/dev/tty2'."
128
    }
129
}
130
 
131
cdl_component CYGPKG_IO_SERIAL_TTY_TTY3 {
132
    display       "TTY mode channel #3"
133
    flavor        bool
134
    default_value 0
135
    description   "
136
        This option causes '/dev/tty3' to be included in the standard
137
        drivers."
138
 
139
    cdl_option CYGDAT_IO_SERIAL_TTY_TTY3_DEV {
140
        display       "TTY mode channel #3 device"
141
        flavor        data
142
        default_value {"\"/dev/ser3\""}
143
        description   "
144
            This option selects the physical device to use for
145
            '/dev/tty3'."
146
    }
147
}

powered by: WebSVN 2.1.0

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