From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31139 invoked by alias); 30 Nov 2007 16:29:08 -0000 Received: (qmail 31131 invoked by uid 22791); 30 Nov 2007 16:29:08 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 Nov 2007 16:28:50 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1Iy8jK-0000zn-00; Fri, 30 Nov 2007 17:28:42 +0100 Date: Fri, 30 Nov 2007 16:58:00 -0000 From: Andrew Lunn To: Eduardo Sabaj Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20071130162842.GD593@lunn.ch> Mail-Followup-To: Eduardo Sabaj , ecos-discuss@ecos.sourceware.org References: <47503142.4040002@hasar.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47503142.4040002@hasar.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] How to add extra serial ports X-SW-Source: 2007-11/txt/msg00199.txt.bz2 On Fri, Nov 30, 2007 at 12:50:26PM -0300, Eduardo Sabaj wrote: > > I'm working on an i386 architecture that has more than 2 serial ports > available, and what I would like to know is how I can make use of them. The > configtool program shows only the information about serial port 0 and 1 but > doesn't let me add another serial port. Moreoever, I found the > CYGNUM_HAL_VIRTUAL_VECTOR_COMM_CHANNELS macro (number of communication > channels on board) but it has a limit of 3 channels and I can't change it. Take a look at packages/devs/serial/i386/pc/current/include/i386_pc_ser.inl. You need to add CYGPKG_IO_SERIAL_I386_PC_SERIAL2 and 3 and modify the CDL appropriately. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss