Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102714983
D35075.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
856 B
Referenced Files
None
Subscribers
None
D35075.diff
View Options
diff --git a/sys/dev/usb/usb_device.c b/sys/dev/usb/usb_device.c
--- a/sys/dev/usb/usb_device.c
+++ b/sys/dev/usb/usb_device.c
@@ -2031,7 +2031,8 @@
goto repeat_set_config;
}
#if USB_HAVE_MSCTEST
- if (config_index == 0) {
+ if (config_index == 0 &&
+ usb_test_quirk(&uaa, UQ_MSC_NO_INQUIRY) == 0) {
/*
* Try to figure out if we have an
* auto-install disk there:
@@ -2051,7 +2052,8 @@
usb_test_quirk(&uaa, UQ_MSC_NO_PREVENT_ALLOW) == 0 &&
usb_test_quirk(&uaa, UQ_MSC_NO_SYNC_CACHE) == 0 &&
usb_test_quirk(&uaa, UQ_MSC_NO_TEST_UNIT_READY) == 0 &&
- usb_test_quirk(&uaa, UQ_MSC_NO_GETMAXLUN) == 0) {
+ usb_test_quirk(&uaa, UQ_MSC_NO_GETMAXLUN) == 0 &&
+ usb_test_quirk(&uaa, UQ_MSC_NO_INQUIRY) == 0) {
/*
* Try to figure out if there are any MSC quirks we
* should apply automatically:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 6:28 AM (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14671748
Default Alt Text
D35075.diff (856 B)
Attached To
Mode
D35075: usb: Respect NO_INQUIRY quirk during device enumeration
Attached
Detach File
Event Timeline
Log In to Comment