svn commit: r249043 - head/sys/dev/usb
Hans Petter Selasky
hselasky at FreeBSD.org
Wed Apr 3 10:31:14 UTC 2013
Author: hselasky
Date: Wed Apr 3 10:31:13 2013
New Revision: 249043
URL: http://svnweb.freebsd.org/changeset/base/249043
Log:
Add missing ifdef's for reduced feature compilations.
Modified:
head/sys/dev/usb/usb_device.c
Modified: head/sys/dev/usb/usb_device.c
==============================================================================
--- head/sys/dev/usb/usb_device.c Wed Apr 3 09:52:30 2013 (r249042)
+++ head/sys/dev/usb/usb_device.c Wed Apr 3 10:31:13 2013 (r249043)
@@ -1854,6 +1854,7 @@ repeat_set_config:
config_index++;
goto repeat_set_config;
}
+#if USB_HAVE_MSCTEST
if (config_index == 0) {
/*
* Try to figure out if we have an
@@ -1866,7 +1867,9 @@ repeat_set_config:
goto repeat_set_config;
}
}
+#endif
}
+#if USB_HAVE_MSCTEST
if (set_config_failed == 0 && config_index == 0 &&
usb_test_quirk(&uaa, UQ_MSC_NO_SYNC_CACHE) == 0 &&
usb_test_quirk(&uaa, UQ_MSC_NO_GETMAXLUN) == 0) {
@@ -1882,6 +1885,7 @@ repeat_set_config:
goto repeat_set_config;
}
}
+#endif
config_done:
DPRINTF("new dev (addr %d), udev=%p, parent_hub=%p\n",
More information about the svn-src-head
mailing list