From owner-freebsd-usb@FreeBSD.ORG Thu Aug 16 16:15:39 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5F0016A41A for ; Thu, 16 Aug 2007 16:15:39 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 7088513C469 for ; Thu, 16 Aug 2007 16:15:39 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [194.248.135.20] (account mc467741@c2i.net HELO unknown-00-c0-9f-49-78-d8.lan) by mailfe01.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 560343599; Thu, 16 Aug 2007 18:15:37 +0200 From: Hans Petter Selasky To: Andriy Gapon Date: Thu, 16 Aug 2007 18:15:47 +0200 User-Agent: KMail/1.9.7 References: <46C2D04A.30409@icyb.net.ua> <200708151741.47907.hselasky@c2i.net> <46C44280.6010908@icyb.net.ua> In-Reply-To: <46C44280.6010908@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708161815.47620.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: usbd_set_config_no vs. usbd_set_config_index X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2007 16:15:39 -0000 Hi, I would say that "usbd_set_config_index()" is more reliable and faster than "usbd_set_config_no()". I tried to get rid of all "usbd_set_config_no()". --HPS