On Thu, 5 Nov 2015, Felipe Balbi wrote: > Hi, > > Oliver Neukum <oneukum@xxxxxxxx> writes: > > On Wed, 2015-11-04 at 16:26 -0500, Alan Stern wrote: > >> This doesn't need to be stored as one of the usb-storage flags. And > >> since we are close to running out of flag bits (on 32-bit > >> architectures), it would be better not to use one of them for this. > > > > Do we want the opposite flag? 25% for known good devices > > is visible. > > You mean for USB2 devices ? I was thinking about that last night and > wanted to "whitelist" at least our own mass storage gadget, provided > that it works just fine with anything you give it (so far). > > Something like US_FL_NO_SECTOR_LIMIT ? There already is a whitelist flag for the Mass Storage gadget: US_FL_CAPACITY_OK. Right now its meaning is limited to the READ CAPACITY bug, but it could easily be repurposed since no other whitelist entries use that flag. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html