RE: usb : mass storage : short_not_ok for non usb3 udc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 26 Jul 2012, Paul Zimmerman wrote:

> > Hmmm.  I suppose an impartial approach would be to set short_not_ok
> > only when the blocksize >= the maxpacket size.  That should always work
> > as a general rule, regardless of speed.
> 
> Yes. And that might save us from having to rehash all this when HyperSpeed
> USB (or whatever is next) comes along in a few years. Don't know how
> difficult that would be to implement, though. Would it just be a matter of
> comparing fsg_lun.blksize to fsg_common. bulk_out_maxpacket?

Yep.  Of course, this would require the lun to be passed as an 
additional argument to set_bulk_out_req_length().

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux