Received: by mail.netbsd.org (Postfix, from userid 605) id 0824785F31; Wed, 6 Jan 2016 22:12:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 89C2B85EB1 for ; Wed, 6 Jan 2016 22:12:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id LrYamoveLcVJ for ; Wed, 6 Jan 2016 22:12:50 +0000 (UTC) Received: from cvs.NetBSD.org (cvs.NetBSD.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 33B1385E78 for ; Wed, 6 Jan 2016 22:12:50 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id ADE3AFBB5; Wed, 6 Jan 2016 22:12:49 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 6 Jan 2016 22:12:49 +0000 From: "Nick Hudson" Subject: CVS commit: src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20160106221249.ADE3AFBB5@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Nick Hudson" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: skrll Date: Wed Jan 6 22:12:49 UTC 2016 Modified Files: src/sys/dev/usb: usb.c usb_subr.c usbdivar.h xhci.c Log Message: Get the iManufacturer, iProduct, and iSerialNumber strings before probing for drivers and cache them for later use. This reduces bus transactions and fixes attachment for at least two of my umass(4)s. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/sys/dev/usb/usb.c cvs rdiff -u -r1.206 -r1.207 src/sys/dev/usb/usb_subr.c cvs rdiff -u -r1.110 -r1.111 src/sys/dev/usb/usbdivar.h cvs rdiff -u -r1.32 -r1.33 src/sys/dev/usb/xhci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.