[xhci] Forcibly disable SMIs if BIOS fails to release ownership
authorMichael Brown <mcb30@ipxe.org>
Mon, 16 Mar 2015 20:32:33 +0000 (20:32 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 16 Mar 2015 20:38:48 +0000 (20:38 +0000)
commit3de0ffc8872267c2352a86f738474a91660443d0
tree291b6b55c8f4f16ada798a63a39ef58701f94a5f
parent838ab97ce3bda9db0b6d5beb98f8c5bc16582be9
[xhci] Forcibly disable SMIs if BIOS fails to release ownership

If the BIOS fails to gracefully release ownership of the xHCI
controller, we can forcibly claim it by disabling all SMIs via the
USB legacy support control/status register.

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