aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-07-03 12:52:05 +0100
committerMichael Brown <mcb30@ipxe.org>2020-07-03 12:52:05 +0100
commit0f5d23433514de62eca1fadceb8c31df5c569431 (patch)
treee1310c2502baaa09af90fb2202e9df6829604802
parente87760183df0d7e07533e3361041620617389429 (diff)
downloadipxe-0f5d23433514de62eca1fadceb8c31df5c569431.zip
ipxe-0f5d23433514de62eca1fadceb8c31df5c569431.tar.gz
ipxe-0f5d23433514de62eca1fadceb8c31df5c569431.tar.bz2
[xhci] Increase link state settling delay to 100ms
Experimentation shows that the existing 20ms delay is insufficient, and often results in device detection being deferred until after iPXE has completed startup. Fix by increasing the delay to 100ms. Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/drivers/usb/xhci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/usb/xhci.h b/src/drivers/usb/xhci.h
index 83bf71e..e996363 100644
--- a/src/drivers/usb/xhci.h
+++ b/src/drivers/usb/xhci.h
@@ -243,7 +243,7 @@ enum xhci_default_psi_value {
#define XHCI_PORTSC_LWS 0x00010000UL
/** Time to delay after writing the port link state */
-#define XHCI_LINK_STATE_DELAY_MS 20
+#define XHCI_LINK_STATE_DELAY_MS 100
/** Connect status change */
#define XHCI_PORTSC_CSC 0x00020000UL