summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uscanner.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2008-05-19 14:05:44 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2008-05-19 14:05:44 +0000
commitbc731f83b4b63b2d161048775b218d6d93597932 (patch)
tree934a94e8586f3d29b733c5f4bffcef44ed02271e /sys/dev/usb/uscanner.c
parent87d9a20d613126cffddb43984b9067d7e459a2c0 (diff)
try a few times before giving up while getting the device descriptor. if
it fails, reset the port and try again. this seems to fix some devices that would punt with "device problem, disabling port" otherwise. from augustss@netbsd with some change as per discussion with theo. set the address before getting the descriptor. from peterbu at bemac dot com via netbsd kern/24716. tested by many.
Diffstat (limited to 'sys/dev/usb/uscanner.c')
0 files changed, 0 insertions, 0 deletions