The patch doesn't work.
> Date: Tue, 25 Aug 2015 11:20:16 -0400
> From: kevin@koconnor.net
> To: fishbaoz@hotmail.com
> CC: vidwer@gmail.com; seabios@seabios.org
> Subject: Re: [SeaBIOS] : USB 3.0 port failed if a USB 3.0 device is attached when power up
>
> On Tue, Aug 25, 2015 at 06:11:53AM +0000, Zheng Bao wrote:
> > I tried with Parmer, which I assume is close to ASUS F2A85-M, and got the same result.
> > :(
>
> Does the patch below help? (Make sure CONFIG_THREADS=y).
>
> -Kevin
>
>
> --- a/src/hw/usb-xhci.c
> +++ b/src/hw/usb-xhci.c
> @@ -364,6 +364,7 @@ xhci_hub_reset(struct usbhub_s *hub, u32 port)
> writel(&xhci->pr[port].portsc, portsc);
> if (wait_bit(&xhci->pr[port].portsc, XHCI_PORTSC_PED, XHCI_PORTSC_PED, 100) != 0)
> return -1;
> + msleep(20);
> portsc = readl(&xhci->pr[port].portsc);
> rc = speed_from_xhci[xhci_get_field(portsc, XHCI_PORTSC_SPEED)];
> break;