More than 16 Serial Ports

Dave Korn dave.korn@artimi.com
Thu May 1 16:14:00 GMT 2008


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/



More information about the Cygwin mailing list