Enable NO_GETMAXLUN quirk.
PR: usb/90670 Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl> Approved by: iedowse MFC after: 1 week
This commit is contained in:
parent
c0263970ff
commit
465ad22910
@ -1101,7 +1101,8 @@ USB_ATTACH(umass)
|
||||
|
||||
/* Get the maximum LUN supported by the device.
|
||||
*/
|
||||
if ((sc->proto & UMASS_PROTO_WIRE) == UMASS_PROTO_BBB)
|
||||
if (((sc->proto & UMASS_PROTO_WIRE) == UMASS_PROTO_BBB) &&
|
||||
!(sc->quirks & NO_GETMAXLUN))
|
||||
sc->maxlun = umass_bbb_get_max_lun(sc);
|
||||
else
|
||||
sc->maxlun = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user