summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umass_quirks.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-15 05:48:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-15 05:48:10 +0000
commite02f33c17583951524a9ea1674d1ad7a85f6506b (patch)
treed0386db425dea045812a2840cb6eeede194d8f11 /sys/dev/usb/umass_quirks.c
parentd4a94683b0a8c2972b69426aa681af6484125c80 (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/umass_quirks.c')
0 files changed, 0 insertions, 0 deletions