diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-02-02 14:35:55 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-02-02 22:36:41 -0500 |
commit | 88e9bd7caee694498cadccba5c1e63baad6d83ab (patch) | |
tree | b0fac3d386e5791a7ba83c821daf8cf3fdec360c /src/hw/usb-xhci.c | |
parent | 32a2b0e38cdd97ad8b0dc988e8114d191801b9e5 (diff) | |
download | seabios-88e9bd7caee694498cadccba5c1e63baad6d83ab.tar.gz |
usb: Eliminate USB controller setup thread
There are no longer any sleep or yield calls during the usb controller
device scans, so there is no need to run these device scans in a
separate thread.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/usb-xhci.c')
-rw-r--r-- | src/hw/usb-xhci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/hw/usb-xhci.c b/src/hw/usb-xhci.c index 089cae75..ad541ab7 100644 --- a/src/hw/usb-xhci.c +++ b/src/hw/usb-xhci.c @@ -534,7 +534,6 @@ xhci_controller_setup(struct pci_device *pci) } memset(xhci, 0, sizeof(*xhci)); - wait_preempt(); // Avoid pci_config_readl when preempting xhci->baseaddr = pci_config_readl(pci->bdf, PCI_BASE_ADDRESS_0) & PCI_BASE_ADDRESS_MEM_MASK; xhci->caps = (void*)(xhci->baseaddr); |