Date: Mon, 9 Mar 2009 18:18:22 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 158948 for review Message-ID: <200903091818.n29IIMaR038855@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=158948 Change 158948 by hselasky@hselasky_laptop001 on 2009/03/09 18:18:10 USB CORE: - Make sure we can compile without UGEN. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_hub.c#3 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_hub.c#3 (text+ko) ==== @@ -1324,9 +1324,13 @@ * Make relationships to our new device */ if (device_index != 0) { +#if USB_HAVE_UGEN mtx_lock(&usb2_ref_lock); +#endif bus->devices[device_index] = udev; +#if USB_HAVE_UGEN mtx_unlock(&usb2_ref_lock); +#endif } /* * Debug print
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903091818.n29IIMaR038855>