Date: Tue, 13 Jan 2009 19:03:12 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: cvs-src-old@freebsd.org 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 ... Message-ID: <200901131903.n0DJ3OeS072046@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901131903.n0DJ3OeS072046>