Mercurial > ecos
diff packages/io/serial/current/cdl/termios.cdl @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | |
| children | e0c0827131d1 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/packages/io/serial/current/cdl/termios.cdl @@ -0,0 +1,108 @@ +# ==================================================================== +# +# termios.cdl +# +# eCos POSIX termios compatible terminal configuration data +# +# ==================================================================== +#####COPYRIGHTBEGIN#### +# +# ------------------------------------------- +# The contents of this file are subject to the Red Hat eCos Public License +# Version 1.1 (the "License"); you may not use this file except in +# compliance with the License. You may obtain a copy of the License at +# http://www.redhat.com/ +# +# Software distributed under the License is distributed on an "AS IS" +# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +# License for the specific language governing rights and limitations under +# the License. +# +# The Original Code is eCos - Embedded Configurable Operating System, +# released September 30, 1998. +# +# The Initial Developer of the Original Code is Red Hat. +# Portions created by Red Hat are +# Copyright (C) 1998, 1999, 2000 Red Hat, Inc. +# All Rights Reserved. +# ------------------------------------------- +# +#####COPYRIGHTEND#### +# ==================================================================== +######DESCRIPTIONBEGIN#### +# +# Author(s): jlarmour, gthomas +# Contributors: +# Date: 2000-07-22 +# +#####DESCRIPTIONEND#### +# +# ==================================================================== + +cdl_component CYGPKG_IO_SERIAL_TERMIOS_TERMIOS0 { + display "Termios TTY channel #0" + flavor bool + default_value 0 + description " + This option causes '/dev/termios0' to be included in the standard + drivers." + + cdl_option CYGDAT_IO_SERIAL_TERMIOS_TERMIOS0_DEV { + display "Termios TTY channel #0 device" + flavor data + default_value { "\"/dev/ser0\"" } + description " + This option selects the physical device to use for + '/dev/termios0'." + } +} +cdl_component CYGPKG_IO_SERIAL_TERMIOS_TERMIOS1 { + display "Termios TTY channel #1" + flavor bool + default_value 0 + description " + This option causes '/dev/termios1' to be included in the standard + drivers." + + cdl_option CYGDAT_IO_SERIAL_TERMIOS_TERMIOS1_DEV { + display "Termios TTY channel #1 device" + flavor data + default_value {"\"/dev/ser1\""} + description " + This option selects the physical device to use for + '/dev/termios1'." + } +} + +cdl_component CYGPKG_IO_SERIAL_TERMIOS_TERMIOS2 { + display "Termios TTY channel #2" + flavor bool + default_value 0 + description " + This option causes '/dev/termios2' to be included in the standard + drivers." + + cdl_option CYGDAT_IO_SERIAL_TERMIOS_TERMIOS2_DEV { + display "Termios TTY channel #2 device" + flavor data + default_value {"\"/dev/ser2\""} + description " + This option selects the physical device to use for + '/dev/termios2'." + } +} + +cdl_option CYGSEM_IO_SERIAL_TERMIOS_USE_SIGNALS { + display "Support signals" + flavor bool + requires CYGINT_ISO_SIGNAL_NUMBERS + requires CYGINT_ISO_SIGNAL_IMPL + default_value { CYGINT_ISO_SIGNAL_NUMBERS != 0 && \ + CYGINT_ISO_SIGNAL_IMPL != 0 } + description "This option selects whether those parts of the termios + interface involving signals is supported. This includes + BRKINT mode, the INTR and QUIT characters, and whether + SIGHUP is sent on terminal close." +} + +# EOF termios.cdl
