From owner-freebsd-current Thu Feb 13 8:20: 3 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2125E37B401 for ; Thu, 13 Feb 2003 08:20:02 -0800 (PST) Received: from h132-197-179-27.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44E0C43FBF for ; Thu, 13 Feb 2003 08:20:01 -0800 (PST) (envelope-from ak03@gte.com) Received: from kanpc.gte.com (localhost [IPv6:::1]) by h132-197-179-27.gte.com (8.12.6/8.12.6) with ESMTP id h1DGK0Qa031085; Thu, 13 Feb 2003 11:20:00 -0500 (EST) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.6/8.12.6/Submit) id h1DGK02v031084; Thu, 13 Feb 2003 11:20:00 -0500 (EST) Date: Thu, 13 Feb 2003 11:20:00 -0500 From: Alexander Kabaev To: "Andrew R. Reiter" Cc: amigus@tislabs.com, current@FreeBSD.ORG Subject: Re: usbd patch (MAXUSBDEV no more) Message-Id: <20030213112000.77d20ae1.ak03@gte.com> In-Reply-To: References: <20030213160229.GA9742@raven.gw.tislabs.com> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.8.10claws8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 13 Feb 2003 11:13:31 -0500 (EST) "Andrew R. Reiter" wrote: > On Thu, 13 Feb 2003, Adam Migus wrote: > > :This patch makes usbd track a dynamic number of devices using a list > :instead of the static array of 4 devices. It's implemented as a list > :but it's very easy to change. > > Does this list want a lock to protect it? I am unfamiliar with usb > locking at the moment, so ignore if stupid. There is nothing to be familiar with at the moment. UBS stack relies on spls on -stable and Giant on -current to protect the data access. -- Alexander Kabaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message