From owner-cvs-src-old@FreeBSD.ORG Mon Oct 4 23:18:30 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F4961065679 for ; Mon, 4 Oct 2010 23:18:30 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2037C8FC08 for ; Mon, 4 Oct 2010 23:18:30 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o94NIUJD026727 for ; Mon, 4 Oct 2010 23:18:30 GMT (envelope-from hselasky@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o94NIUGQ026726 for cvs-src-old@freebsd.org; Mon, 4 Oct 2010 23:18:30 GMT (envelope-from hselasky@repoman.freebsd.org) Message-Id: <201010042318.o94NIUGQ026726@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to hselasky@repoman.freebsd.org using -f From: Hans Petter Selasky Date: Mon, 4 Oct 2010 23:18:05 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb usb_controller.h usb_device.c usb_device.h usb_hub.c usb_hub.h usb_parse.c usb_request.c usb_request.h usb_transfer.c usb_transfer.h usbdi.h usbdi_util.h src/sys/dev/usb/controller usb_controller.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 23:18:30 -0000 hselasky 2010-10-04 23:18:05 UTC FreeBSD src repository Modified files: sys/dev/usb usb_controller.h usb_device.c usb_device.h usb_hub.c usb_hub.h usb_parse.c usb_request.c usb_request.h usb_transfer.c usb_transfer.h usbdi.h usbdi_util.h sys/dev/usb/controller usb_controller.c Log: SVN rev 213435 on 2010-10-04 23:18:05Z by hselasky This commit adds full support for USB 3.0 devices in host and device mode in the USB core. The patch mostly consists of updating the USB HUB code to support USB 3.0 HUBs. This patch also add some more USB controller methods to support more active-alike USB controllers like the XHCI which needs to be informed about various device state events. USB 3.0 HUBs are not tested yet, due to lack of hardware, but are believed to work. After this update the initial device descriptor is only read twice when we know that the bMaxPacketSize is too small for a single packet transfer of this descriptor. Approved by: thompsa (mentor) Revision Changes Path 1.31 +6 -0 src/sys/dev/usb/controller/usb_controller.c 1.20 +25 -0 src/sys/dev/usb/usb_controller.h 1.65 +68 -49 src/sys/dev/usb/usb_device.c 1.35 +8 -5 src/sys/dev/usb/usb_device.h 1.43 +354 -76 src/sys/dev/usb/usb_hub.c 1.13 +1 -0 src/sys/dev/usb/usb_hub.h 1.7 +37 -1 src/sys/dev/usb/usb_parse.c 1.32 +187 -24 src/sys/dev/usb/usb_request.c 1.11 +14 -2 src/sys/dev/usb/usb_request.h 1.42 +137 -45 src/sys/dev/usb/usb_transfer.c 1.15 +4 -1 src/sys/dev/usb/usb_transfer.h 1.76 +1 -0 src/sys/dev/usb/usbdi.h 1.25 +3 -0 src/sys/dev/usb/usbdi_util.h