PERFORCE change 158948 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Mar 9 11:18:24 PDT 2009
http://perforce.freebsd.org/chv.cgi?CH=158948
Change 158948 by hselasky at 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
More information about the p4-projects
mailing list