diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2008-05-19 14:05:44 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2008-05-19 14:05:44 +0000 |
commit | bc731f83b4b63b2d161048775b218d6d93597932 (patch) | |
tree | 934a94e8586f3d29b733c5f4bffcef44ed02271e /usr.bin | |
parent | 87d9a20d613126cffddb43984b9067d7e459a2c0 (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 'usr.bin')
0 files changed, 0 insertions, 0 deletions