From owner-freebsd-current@FreeBSD.ORG Fri Aug 3 08:32:48 2012 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 BE01E106564A for ; Fri, 3 Aug 2012 08:32:48 +0000 (UTC) (envelope-from edschouten@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 802248FC0C for ; Fri, 3 Aug 2012 08:32:48 +0000 (UTC) Received: by obbun3 with SMTP id un3so911359obb.13 for ; Fri, 03 Aug 2012 01:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=wl2DWyTAgeMa9D4mYl+iytja1ZmM85F76EpBBb9tqfs=; b=ud20+5LZAuRWehpB4OI+rpq/edDhCMEDhao9PCTYjRlzG11ctUnCPdxGRf3hPWI2Mf pt4jKgdBxOnd0C/xWmWDmqYc2Qrz8Jj7NOkmX/MG8Aexog63ExcduX5FYbWWfvL5VHxZ 7Ky7UdfBheBhNufq0SfMgOv5grrRBt/1G7PVCgnDxd7C5icLZ+JRl/2nwXlAJVz5Gswm 9iYjnsvJBM+eAg+8rBjEZt56jpFlJqbKPGcvtLMwFVwNlxFxPh8XuSJuPWt+RyTqwX4T 7lnbec56V4E7azUzNSbKyLRr+SerQHtIfZP9N2wZAgLBw8/6l419v+g4jvS3ZDapEp/E zs/A== MIME-Version: 1.0 Received: by 10.60.13.228 with SMTP id k4mr2528796oec.28.1343982767579; Fri, 03 Aug 2012 01:32:47 -0700 (PDT) Sender: edschouten@gmail.com Received: by 10.76.153.195 with HTTP; Fri, 3 Aug 2012 01:32:47 -0700 (PDT) In-Reply-To: <201208012341.25509.hselasky@c2i.net> References: <20120801160323.GN2676@deviant.kiev.zoral.com.ua> <201208012341.25509.hselasky@c2i.net> Date: Fri, 3 Aug 2012 10:32:47 +0200 X-Google-Sender-Auth: iDcfrQPT2SHIIS_dSuXMTB3Xy4U Message-ID: From: Ed Schouten To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Cc: Konstantin Belousov , freebsd-current@freebsd.org Subject: Re: ttydev_cdevsw has no d_purge X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2012 08:32:48 -0000 2012/8/1 Hans Petter Selasky : > I think the problem is like this, that in order to re-use the unit numbers for > USB serial tty devices, the USB stack needs to wait until a TTY is actually > freed, right? Else you will have a panic on creating devfs entries having the > same name. Indeed. So the USB code could simply pick a different unit number. -- Ed Schouten