commit | 31dfd3f20d66604d6959e86c97add01523f65883 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Nov 17 10:22:59 2011 +0100 |
committer | Kevin O'Connor <kevin@koconnor.net> | Thu Nov 17 21:01:32 2011 -0500 |
tree | 597eb9b05523006cd669ed84d3aa288e1357c0ce | |
parent | 0082374caae8b8f0e235034d3ee2faaa48274d42 [diff] |
usb-uhci: reorganize wait_qh into wait_pipe Four changes: 1) Add explicit GET_FLATPTR/SET_FLATPTR. 2) Pass the whole pipe to wait_qh so that we can get the iobase from there. 3) Clean up the pipe upon timeout, since that is the only sensible thing to do: tds are on the stack, and leaving pointers to them in the pipe is not a good idea. 4) Add a variable timeout argument, since bulk transfers might take more than 500 ms. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>