Received: by mail.netbsd.org (Postfix, from userid 605) id 58CF614A268; Sat, 7 Sep 2013 16:39:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 403F014A26A for ; Sat, 7 Sep 2013 16:39:16 +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 FYS_n1aj5Z4Q for ; Sat, 7 Sep 2013 16:39:15 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 5F4C814A266 for ; Sat, 7 Sep 2013 16:39:15 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 4A25A96; Sat, 7 Sep 2013 16:39:15 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 7 Sep 2013 16:39:15 +0000 From: "Nick Hudson" Subject: CVS commit: src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20130907163915.4A25A96@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: Sat Sep 7 16:39:15 UTC 2013 Modified Files: src/sys/dev/usb: usb_subr.c Log Message: Reload the full device descriptor after re-establishing the default pipe with the new address. Some HCDs, e.g. dwc2, need wMaxPacketSize to be the value returned from the device to complete transfers after the set address. Opening the pipe again gives the HCD access to the correct value. To generate a diff of this commit: cvs rdiff -u -r1.191 -r1.192 src/sys/dev/usb/usb_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.