Received: by mail.netbsd.org (Postfix, from userid 605) id B9B4C84E21; Mon, 12 Nov 2018 16:01:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EC3A284E20 for ; Mon, 12 Nov 2018 16:01:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id nNr5qMm5npNs for ; Mon, 12 Nov 2018 16:01:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 14C7884DA3 for ; Mon, 12 Nov 2018 16:01:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0CA01FB1F; Mon, 12 Nov 2018 16:01:36 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 12 Nov 2018 16:01:36 +0000 From: "Martin Husemann" Subject: CVS commit: [netbsd-8] src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20181112160136.0CA01FB1F@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: "Martin Husemann" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: martin Date: Mon Nov 12 16:01:35 UTC 2018 Modified Files: src/sys/dev/usb [netbsd-8]: usb_quirks.c usb_quirks.h usbdevs usbdi_util.c usbdi_util.h Log Message: Pull up following revision(s) (requested by manu in ticket #1091): sys/dev/usb/usb_quirks.c: revision 1.88,1.89 (via patch) sys/dev/usb/usbdi_util.c: revision 1.72 (via patch) sys/dev/usb/usb_quirks.h: revision 1.28 (via patch) sys/dev/usb/usbdi_util.h: revision 1.48 sys/dev/usb/usbdevs: revision 1.760,1.761 (via patch) Add PN533 based NFC devices - Workaround PN533 USB descriptor corruption During normal operation, the PN533 chip may corrupt its USB configuration, interface and endpoint descriptors. The device descriptor remains unaffected. Since the descriptors are documented to be immutable, we can work around the problem by providing hard-coded descriptors instead of pulling them from the device. Userland implementation such as NFC tools' libnfc use the same approach, but this kernel quirk is still necessary so that the device can be attached on reboot, after its USB descriptors got corrupted. - Fix typo To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.86.8.1 src/sys/dev/usb/usb_quirks.c cvs rdiff -u -r1.27 -r1.27.10.1 src/sys/dev/usb/usb_quirks.h cvs rdiff -u -r1.736.2.1 -r1.736.2.2 src/sys/dev/usb/usbdevs cvs rdiff -u -r1.66.2.1 -r1.66.2.2 src/sys/dev/usb/usbdi_util.c cvs rdiff -u -r1.47 -r1.47.10.1 src/sys/dev/usb/usbdi_util.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.