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 -------------