diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2022-02-21 08:24:28 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2022-02-24 09:28:55 +0000 |
commit | 7520b88860d7a79432e12ffcc47056844518bb62 (patch) | |
tree | 42bf3939940066dd8a0235fac7d0bead27210d5f /sys/fs | |
parent | 68445e349bf4772434247f2f958a672f44403dd2 (diff) | |
download | src-7520b88860d7a79432e12ffcc47056844518bb62.tar.gz src-7520b88860d7a79432e12ffcc47056844518bb62.zip |
usb(4): Automagically apply all quirks for USB mass storage devices.
Currently there are five quirks the USB stack tries to automagically detect:
- UQ_MSC_NO_PREVENT_ALLOW
- UQ_MSC_NO_SYNC_CACHE
- UQ_MSC_NO_TEST_UNIT_READY
- UQ_MSC_NO_GETMAXLUN
- UQ_MSC_NO_START_STOP
If any of the quirks above are set, no further quirks will be probed.
If any of the USB mass storage tests fail, the USB device is
re-enumerated as a last resort to clear any error states from the
device. Then the USB stack will try to probe and attach the umass<N>
device passing the detected quirks.
While at it give more details in dmesg about what is going on.
Tested by: several
Submitted by: Idwer Vollering <vidwer_fbsdbugs@gmail.com>
Differential Revision: https://reviews.freebsd.org/D30919
MFC after: 1 week
Sponsored by: NVIDIA Networking
Diffstat (limited to 'sys/fs')
0 files changed, 0 insertions, 0 deletions