Page MenuHomeFreeBSD

umass: Bring in small fix from NetBSD's umass
ClosedPublic

Authored by imp on Mar 23 2025, 9:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 26, 8:37 AM
Unknown Object (File)
Tue, Nov 25, 7:24 PM
Unknown Object (File)
Tue, Nov 25, 6:55 AM
Unknown Object (File)
Thu, Nov 20, 4:38 PM
Unknown Object (File)
Thu, Nov 20, 4:36 PM
Unknown Object (File)
Thu, Nov 20, 4:35 PM
Unknown Object (File)
Thu, Nov 20, 4:34 PM
Unknown Object (File)
Thu, Nov 20, 4:24 PM
Subscribers
None

Details

Summary

When completing a request for UFI, don't fail the request on
non-zero asc/ascq values if we've done a request sense.

This idea is from umass.c 1.100 by mycroft. He used it to help
elminate the INQUIRY_SHORT quirk that we still have. However, it will
make little difference because we treat both return values the same
for CBI. And it appears we have (maybe bogusly) some devices that
specify this quirk that aren't CBI.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63905
Build 60789: arc lint + arc unit