mirror of
https://github.com/ipxe/ipxe
synced 2026-04-04 03:00:20 +03:00
de6f4e3ede895b45325c5d062d25a94d1dd37e2e
The current endpoint reset logic defers the reset until the caller attempts to enqueue a new transfer to that endpoint. This is insufficient when dealing with endpoints behind a transaction translator, since the transaction translator is a resource shared between multiple endpoints. We cannot reset the endpoint as part of the completion handling, since that would introduce recursive calls to usb_poll(). Instead, we add the endpoint to a list of halted endpoints, and perform the reset on the next call to usb_step(). Signed-off-by: Michael Brown <mcb30@ipxe.org>
iPXE README File Quick start guide: cd src make For any more detailed instructions, see http://ipxe.org
Languages
C
97.1%
Assembly
1.5%
Perl
0.6%
Makefile
0.4%
Python
0.3%