CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2020/11/23 14:33:38
Modified files: sys/dev/usb : umass.c umassvar.h Log message: Adopt a Linux heuristic and mark as IGNORE_RESIDUE those umass(4) devices whose INQUIRY command succeeds but with a residue equal to the requested bytes. Subsequent i/o's (including the INQUIRY) which succeed with a residue equal to the requested bytes will have residue set to 0. Fixes (very?) old devices such as the memory stick Andrew Daugherity pulled out of his drawer and with which he hoped to install 6.8. Subsequent testing of diffs much appreciated!