[xhci] Abort commands on timeout
authorMichael Brown <mcb30@ipxe.org>
Wed, 18 Feb 2015 11:10:55 +0000 (11:10 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 18 Feb 2015 11:10:55 +0000 (11:10 +0000)
commit645458e5a05a76b15cbef743fe1d3ff4ffa82569
tree32349281082200015e520be9e7baf4852bd2fee7
parent88448de720f1b0261a33355295248766e51303fe
[xhci] Abort commands on timeout

When a command times out, abort it (via the Command Abort bit in the
Command Ring Control Register) so that subsequent commands may execute
as expected.

This improves robustness when a device fails to respond to the Set
Address command, since the subsequent Disable Slot command will now
succeed.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/usb/xhci.c
src/drivers/usb/xhci.h