From owner-freebsd-current@FreeBSD.ORG Wed Feb 4 22:32:09 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C7F71065676; Wed, 4 Feb 2009 22:32:09 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id E3D7D8FC13; Wed, 4 Feb 2009 22:32:08 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([77.232.23.6]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id n14MV2Vk026320 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Feb 2009 01:31:03 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LUqGr-0000mg-Pg; Thu, 05 Feb 2009 01:31:01 +0300 From: Vladimir Grebenschikov To: "M. Warner Losh" In-Reply-To: <20090204.085606.1630229139.imp@bsdimp.com> References: <1233734352.1767.55.camel@localhost> <200902041044.27663.hselasky@c2i.net> <20090204.085606.1630229139.imp@bsdimp.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Thu, 05 Feb 2009 01:31:01 +0300 Message-Id: <1233786661.2821.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: usb@freebsd.org, freebsd-current@freebsd.org, hselasky@c2i.net Subject: Re: USB2 - umass problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 22:32:10 -0000 On Wed, 2009-02-04 at 08:56 -0700, M. Warner Losh wrote: > In message: <200902041044.27663.hselasky@c2i.net> > Hans Petter Selasky writes: > : Hi, > : > : On Wednesday 04 February 2009, Vladimir Grebenschikov wrote: > : > Hi > : > > : > > : > By some reason devfs semantic was changed: > : > Instead of /dev/cuaU0.[0-2] and /dev/ttyU0.[0-2], I've get > : > /dev/cuaU[0-2] /dev/ttyU[0-2] and! /dev/cuau1 /dev/ttyu1 > : > What is reason for such change (additional port with lowercase 'u' and > : > U[0-2] instead of more logical U0.[0-2]) ? > : > : It is because we are attaching drivers per interface instead of per device. A > : new modem unit is allocated every time we find a modem, simply put. If the > : modem has multiple instances in an interface, /dev/cuaU0.[0...] will be > : created. Else /dev/cuaU... . > > Generally, we try not to change the details of how a device attaches > /dev entries from release to release. Why the change? > > Also to Vladimir, Are you sure that the 'u' devices are created with > the USB modem? They should only be created for uart devices... Yes, it is uart. > Warner -- Vladimir B. Grebenschikov vova@fbsd.ru