From owner-freebsd-ports@FreeBSD.ORG Sun Oct 24 04:37:42 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28B9A16A4CF for ; Sun, 24 Oct 2004 04:37:42 +0000 (GMT) Received: from out008.verizon.net (out008pub.verizon.net [206.46.170.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 633C543D2D for ; Sun, 24 Oct 2004 04:37:41 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from [10.0.3.231] ([138.89.97.54]) by out008.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20041024043740.OXXH11892.out008.verizon.net@[10.0.3.231]>; Sat, 23 Oct 2004 23:37:40 -0500 From: "Alexandre \"Sunny\" Kovalenko" To: ari.suutari@syncrontech.com Content-Type: multipart/mixed; boundary="=-abt24z29gK/0Y2pW5Ldd" Message-Id: <1098592630.751.15.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 24 Oct 2004 00:37:11 -0400 X-Authentication-Info: Submitted using SMTP AUTH at out008.verizon.net from [138.89.97.54] at Sat, 23 Oct 2004 23:37:38 -0500 cc: freebsd-ports@freebsd.org Subject: comms/java-commapi-freebsd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 04:37:42 -0000 --=-abt24z29gK/0Y2pW5Ldd Content-Type: text/plain Content-Transfer-Encoding: 7bit I have attached (rather simple) patch which takes care of new naming for regular and USB serial devices introduced in FreeBSD-current. I would have to believe that names for other serial devices have changed, but I was not able to find comprehensive list, nor I own any of those. --- Alexandre "Sunny" Kovalenko. --=-abt24z29gK/0Y2pW5Ldd Content-Disposition: attachment; filename=java-commapi-freebsd.patch Content-Type: text/x-patch; name=java-commapi-freebsd.patch; charset=ASCII Content-Transfer-Encoding: 7bit --- work/freebsd-commapi-0.6/src/org/freebsd/io/comm/FreebsdDriver.java.ORIG Sun Oct 24 00:06:14 2004 +++ work/freebsd-commapi-0.6/src/org/freebsd/io/comm/FreebsdDriver.java Sun Oct 24 00:28:49 2004 @@ -55,7 +55,10 @@ String[] portPrefix = { "ttyd", //general purpose serial ports "cuaa", //dialout serial ports + "cuad", // dialout serial ports in 6.0 "ucom", //USB serial ports + "ttyU", // general purpose USB serial ports + "cuaU", // dialout USB serial ports in 6.0 "ttyA", //Specialix SI/XIO dialin ports "cuaA", //Specialix SI/XIO dialout ports "ttyD", //Digiboard - 16 dialin ports --=-abt24z29gK/0Y2pW5Ldd--