X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <4819E3A6.80704@bmts.com>
Subject: RE: More than 16 Serial Ports
Date: Thu, 1 May 2008 17:13:28 +0100
Message-ID: <00fd01c8aba6$4aa83e80$2708a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <4819E3A6.80704@bmts.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Ralph Hempel wrote on 01 May 2008 16:37:

> So now the question is, where do we poke around in the
> source to increase the limit of serial ports under
> Cygwin?

  Look at winsup/cygwin/devices.in, which is a template that is used to
auto-generate the code in winsup/cygwin/devices.cc, using the
winsup/cygwin/gendevices script.

  Note that on mainline (as opposed to the 1.5.x release branch), the number
appears to have been raised to 64 quite some time ago.

http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/devices.in?cvsroot=src

 Revision 1.14 / (download) - annotate - [select for diffs] , Mon Oct 9
08:27:23 2006 UTC (18 months, 3 weeks ago) by corinna
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (colored)

	* devices.in: Raise number of handled serial ports to 64.
	* devices.cc: Regenerate.

  You could copy that patch:

http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/devices.in.diff?r1=1.13
&r2=1.14&cvsroot=src



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

