From owner-cvs-src-old@FreeBSD.ORG Mon Nov 10 20:54:46 2008 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 6806D1065680 for ; Mon, 10 Nov 2008 20:54:46 +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 4FF1B8FC1B for ; Mon, 10 Nov 2008 20:54:46 +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 mAAKsk3x033423 for ; Mon, 10 Nov 2008 20:54:46 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id mAAKskdO033422 for cvs-src-old@freebsd.org; Mon, 10 Nov 2008 20:54:46 GMT (envelope-from thompsa@repoman.freebsd.org) Message-Id: <200811102054.mAAKskdO033422@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to thompsa@repoman.freebsd.org using -f From: Andrew Thompson Date: Mon, 10 Nov 2008 20:54:31 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb2/controller at91dci.c at91dci_atmelarm.c ehci2.c ehci2_pci.c musb2_otg.c musb2_otg_atmelarm.c ohci2.c ohci2_atmelarm.c ohci2_pci.c uhci2.c uhci2_pci.c usb2_bus.h usb2_controller.c uss820dci.c uss820dci_atmelarm.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, 10 Nov 2008 20:54:46 -0000 thompsa 2008-11-10 20:54:31 UTC FreeBSD src repository Modified files: sys/dev/usb2/controller at91dci.c at91dci_atmelarm.c ehci2.c ehci2_pci.c musb2_otg.c musb2_otg_atmelarm.c ohci2.c ohci2_atmelarm.c ohci2_pci.c uhci2.c uhci2_pci.c usb2_bus.h usb2_controller.c uss820dci.c uss820dci_atmelarm.c uss820dci_pccard.c sys/dev/usb2/core usb2_busdma.c usb2_core.h usb2_device.c usb2_handle_request.c usb2_hub.c usb2_request.c usb2_sw_transfer.c usb2_transfer.c usb2_transfer.h sys/dev/usb2/serial uvscom2.c sys/dev/usb2/storage ata-usb2.c Log: SVN rev 184824 on 2008-11-10 20:54:31Z by thompsa Convert the two main locking areas into macros to make it clear on what we are grabbing and why. These are now: USB_BUS_LOCK/USB_BUS_UNLOCK USB_XFER_LOCK/USB_XFER_UNLOCK Reviewed by: alfred Revision Changes Path 1.2 +21 -21 src/sys/dev/usb2/controller/at91dci.c 1.2 +1 -1 src/sys/dev/usb2/controller/at91dci_atmelarm.c 1.2 +34 -34 src/sys/dev/usb2/controller/ehci2.c 1.2 +1 -1 src/sys/dev/usb2/controller/ehci2_pci.c 1.2 +21 -21 src/sys/dev/usb2/controller/musb2_otg.c 1.2 +1 -1 src/sys/dev/usb2/controller/musb2_otg_atmelarm.c 1.2 +35 -35 src/sys/dev/usb2/controller/ohci2.c 1.2 +1 -1 src/sys/dev/usb2/controller/ohci2_atmelarm.c 1.2 +1 -1 src/sys/dev/usb2/controller/ohci2_pci.c 1.2 +29 -29 src/sys/dev/usb2/controller/uhci2.c 1.2 +3 -3 src/sys/dev/usb2/controller/uhci2_pci.c 1.2 +1 -1 src/sys/dev/usb2/controller/usb2_bus.h 1.2 +10 -10 src/sys/dev/usb2/controller/usb2_controller.c 1.2 +20 -20 src/sys/dev/usb2/controller/uss820dci.c 1.2 +1 -1 src/sys/dev/usb2/controller/uss820dci_atmelarm.c 1.2 +1 -1 src/sys/dev/usb2/controller/uss820dci_pccard.c 1.2 +12 -7 src/sys/dev/usb2/core/usb2_busdma.c 1.2 +7 -2 src/sys/dev/usb2/core/usb2_core.h 1.2 +10 -10 src/sys/dev/usb2/core/usb2_device.c 1.2 +13 -13 src/sys/dev/usb2/core/usb2_handle_request.c 1.2 +6 -6 src/sys/dev/usb2/core/usb2_hub.c 1.2 +15 -12 src/sys/dev/usb2/core/usb2_request.c 1.2 +6 -1 src/sys/dev/usb2/core/usb2_sw_transfer.c 1.2 +96 -101 src/sys/dev/usb2/core/usb2_transfer.c 1.2 +0 -1 src/sys/dev/usb2/core/usb2_transfer.h 1.3 +2 -2 src/sys/dev/usb2/serial/uvscom2.c 1.2 +2 -2 src/sys/dev/usb2/storage/ata-usb2.c