From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28100 invoked by alias); 26 Mar 2011 10:22:01 -0000 Received: (qmail 28090 invoked by uid 22791); 26 Mar 2011 10:22:00 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from tirion.supremecenter202.com (HELO tirion.supremecenter202.com) (209.25.195.243) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 26 Mar 2011 10:21:56 +0000 Received: from [77.28.169.112] (port=59036 helo=[192.168.1.68]) by tirion.supremecenter202.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Q3Qd1-0007VY-8C for ecos-devel@ecos.sourceware.org; Sat, 26 Mar 2011 10:21:55 +0000 Message-ID: <4D8DBE3F.2000708@siva.com.mk> Date: Sat, 26 Mar 2011 10:22:00 -0000 From: Ilija Kocho User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: eCos developers Subject: tty.cdl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2011-03/txt/msg00023.txt.bz2 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 -------------