From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29872 invoked by alias); 26 Mar 2011 18:33:04 -0000 Received: (qmail 29858 invoked by uid 22791); 26 Mar 2011 18:33:02 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-fx0-f49.google.com (HELO mail-fx0-f49.google.com) (209.85.161.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 26 Mar 2011 18:32:59 +0000 Received: by fxm14 with SMTP id 14so1463938fxm.36 for ; Sat, 26 Mar 2011 11:32:57 -0700 (PDT) Received: by 10.223.77.71 with SMTP id f7mr2461394fak.141.1301164377703; Sat, 26 Mar 2011 11:32:57 -0700 (PDT) Received: from sg-laptop ([178.123.140.231]) by mx.google.com with ESMTPS id e17sm865760fak.0.2011.03.26.11.32.54 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 Mar 2011 11:32:55 -0700 (PDT) Date: Sat, 26 Mar 2011 18:33:00 -0000 From: Sergei Gavrikov To: Ilija Kocho cc: eCos developers Subject: Re: tty.cdl In-Reply-To: <4D8DBE3F.2000708@siva.com.mk> Message-ID: References: <4D8DBE3F.2000708@siva.com.mk> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/msg00025.txt.bz2 On Sat, 26 Mar 2011, Ilija Kocho wrote: > 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. Hi Ilija, It seems your issue cannot be solved by editing the config files *only*. There are a couple of hardwired conditional definitions for device table entries there, take a look at $ECOS_REPOSITORY/io/serial//src/common/tty.c $ECOS_REPOSITORY/io/serial//src/common/termiostty.c Sergei