From owner-cvs-src-old@FreeBSD.ORG Tue Jan 13 19:03:25 2009 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 417EE106594A for ; Tue, 13 Jan 2009 19:03:25 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0CE718FC45 for ; Tue, 13 Jan 2009 19:03:25 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0DJ3Oco072047 for ; Tue, 13 Jan 2009 19:03:24 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0DJ3OeS072046 for cvs-src-old@freebsd.org; Tue, 13 Jan 2009 19:03:24 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200901131903.n0DJ3OeS072046@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Tue, 13 Jan 2009 19:03:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb2/controller at91dci.c ehci2.c musb2_otg.c ohci2.c uhci2.c uss820dci.c src/sys/dev/usb2/core usb2_busdma.c usb2_core.h usb2_debug.c usb2_handle_request.c usb2_hub.c usb2_request.c usb2_transfer.c usb2_transfer.h ... 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: Tue, 13 Jan 2009 19:03:28 -0000 thompsa 2009-01-13 19:03:12 UTC FreeBSD src repository Modified files: sys/dev/usb2/controller at91dci.c ehci2.c musb2_otg.c ohci2.c uhci2.c uss820dci.c sys/dev/usb2/core usb2_busdma.c usb2_core.h usb2_debug.c usb2_handle_request.c usb2_hub.c usb2_request.c usb2_transfer.c usb2_transfer.h sys/dev/usb2/serial uvscom2.c sys/dev/usb2/storage ata-usb2.c Log: SVN rev 187173 on 2009-01-13 19:03:12Z by thompsa MFp4: //depot/projects/usb@155839 This change is about removing three fields from "struct usb2_xfer" which can be reached from "struct usb2_xfer_root" instead and cleaning up the code after this change. The fields are "xfer->udev", "xfer->xfer_mtx" and "xfer->usb2_sc". In this process the following changes were also made: Rename "usb2_root" to "xroot" which is short for "xfer root". Rename "priv_mtx" to "xfer_mtx" in USB core. The USB_XFER_LOCK and USB_XFER_UNLOCK macros should only be used in the USB core due to dependency towards "xroot". Substitute macros for the real lock in two USB device drivers. Submitted by: Hans Petter Selasky Revision Changes Path 1.8 +17 -22 src/sys/dev/usb2/controller/at91dci.c 1.8 +40 -45 src/sys/dev/usb2/controller/ehci2.c 1.9 +19 -24 src/sys/dev/usb2/controller/musb2_otg.c 1.8 +25 -30 src/sys/dev/usb2/controller/ohci2.c 1.8 +29 -34 src/sys/dev/usb2/controller/uhci2.c 1.8 +15 -20 src/sys/dev/usb2/controller/uss820dci.c 1.7 +7 -7 src/sys/dev/usb2/core/usb2_busdma.c 1.7 +4 -7 src/sys/dev/usb2/core/usb2_core.h 1.3 +8 -4 src/sys/dev/usb2/core/usb2_debug.c 1.6 +12 -10 src/sys/dev/usb2/core/usb2_handle_request.c 1.9 +1 -1 src/sys/dev/usb2/core/usb2_hub.c 1.7 +16 -12 src/sys/dev/usb2/core/usb2_request.c 1.8 +96 -96 src/sys/dev/usb2/core/usb2_transfer.c 1.5 +5 -5 src/sys/dev/usb2/core/usb2_transfer.h 1.7 +2 -2 src/sys/dev/usb2/serial/uvscom2.c 1.4 +3 -2 src/sys/dev/usb2/storage/ata-usb2.c