diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-15 05:48:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-15 05:48:10 +0000 |
commit | e02f33c17583951524a9ea1674d1ad7a85f6506b (patch) | |
tree | d0386db425dea045812a2840cb6eeede194d8f11 /sys/dev/usb/usbdevs | |
parent | d4a94683b0a8c2972b69426aa681af6484125c80 (diff) |
from netbsd via dlg, umass.c revision 1.97:
Well, this is bloody obscure...
My Imation USB FlashGO! adapter responds to a Get Max Lun request with a
stall. With uhci, this does the expected thing. With ohci, it was returning
a "data underrun" error because we weren't setting "buffer rounding" (i.e.
USBD_SHORT_XFER_OK), and the underrun was taking priority. This happened with
both the ohci in a Mac cube and the builtin ohci on the S3C2410.
So, set USBD_SHORT_XFER_OK on the Get Max Lun. Now I get a stall reported and
umass attaches correctly.
Diffstat (limited to 'sys/dev/usb/usbdevs')
0 files changed, 0 insertions, 0 deletions