X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <4819E3A6 DOT 80704 AT bmts DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/