From: Kevin O'Connor Date: Thu, 2 Aug 2012 00:40:03 +0000 (-0400) Subject: EHCI: increase CONNECT detection delay X-Git-Tag: rel-1.7.1~7 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c0207888874c016b77c359688a221a58b58dd3a4;p=seabios.git EHCI: increase CONNECT detection delay Increase delay to fix detection issues found. Signed-off-by: Kevin O'Connor Signed-off-by: Sven Schnelle --- diff --git a/src/usb-ehci.c b/src/usb-ehci.c index 3c0be13..2676615 100644 --- a/src/usb-ehci.c +++ b/src/usb-ehci.c @@ -82,7 +82,9 @@ ehci_hub_detect(struct usbhub_s *hub, u32 port) writel(portreg, portsc); msleep(EHCI_TIME_POSTPOWER); } else { - msleep(1); // XXX - time for connect to be detected. + // Port is already powered up, but we don't know how long it + // has been powered up, so wait the 20ms. + msleep(EHCI_TIME_POSTPOWER); } portsc = readl(portreg);