public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
* tty.cdl
@ 2011-03-26 10:22 Ilija Kocho
  2011-03-26 18:33 ` tty.cdl Sergei Gavrikov
  0 siblings, 1 reply; 14+ messages in thread
From: Ilija Kocho @ 2011-03-26 10:22 UTC (permalink / raw)
  To: eCos developers

Hello colleagues

I need to extend tty.cdl in order to accommodate more than 4 serial
ports, currently I need 6. I can simply add 2 port entries but i would
prefer something like the snippet below. Either case I am ready to post
to Bugzilla.
Note: Similar case is with termios.cdl

Please advise.

Regards
Ilija
   
--- CDL snippet for tty.cdl -----------

    cdl_component CYGPKG_IO_SERIAL_TTY_TTY[set ::channel] {
        display       "TTY mode channel #[set ::channel]"
        flavor        bool
        default_value 0
        description   "
        This option causes '/dev/tty[set ::channel]' to be included in
the standard
        drivers."
       
        cdl_option CYGDAT_IO_SERIAL_TTY_TTY[set ::channel]_DEV {
            display       "TTY mode channel #[set ::channel] device"
            flavor        data
            default_value [ format { "\"/dev/ser%d\"" } $::channel ]
            description   "
            This option selects the physical device to use for
            '/dev/tty[set ::channel]'."
        }
    }
--- Snipped end -------------

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-03-28 19:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-26 10:22 tty.cdl Ilija Kocho
2011-03-26 18:33 ` tty.cdl Sergei Gavrikov
2011-03-27 11:40   ` tty.cdl Ilija Kocho
2011-03-27 12:45     ` tty.cdl Sergei Gavrikov
2011-03-27 15:46       ` tty.cdl Ilija Kocho
2011-03-27 17:11         ` tty.cdl Sergei Gavrikov
2011-03-27 19:34           ` tty.cdl Ilija Kocho
2011-03-27 19:39             ` tty.cdl Sergei Gavrikov
2011-03-27 19:55               ` tty.cdl Ilija Kocho
2011-03-27 21:11                 ` tty.cdl Sergei Gavrikov
2011-03-28 10:42                   ` tty.cdl Ilija Kocho
2011-03-28 12:16                     ` tty.cdl Sergei Gavrikov
2011-03-28 19:00                       ` tty.cdl Ilija Kocho
2011-03-28 19:25                         ` tty.cdl Sergei Gavrikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).