]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
ehci: Only delay UHCI/OHCI port scan until after EHCI setup completes
authorKevin O'Connor <kevin@koconnor.net>
Tue, 2 Feb 2016 19:28:13 +0000 (14:28 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 3 Feb 2016 03:36:41 +0000 (22:36 -0500)
commit32a2b0e38cdd97ad8b0dc988e8114d191801b9e5
treeedd04d5db11fed54ce4d5fac61988aba46e0801b
parente518c0fd03172686d455318338c82acf4fd560ef
ehci: Only delay UHCI/OHCI port scan until after EHCI setup completes

EHCI controller setup needs to occur prior to checking any UHCI or
OHCI ports to ensure a high speed device is not mistakenly configured
on a full speed "companion" controller.  However, only the UHCI/OHCI
port scan needs to be delayed, not the full UHCI/OHCI controller init.

This change moves back the ehci controller setup check until port
scan in UHCI/OHCI.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/hw/usb-ehci.c
src/hw/usb-ehci.h
src/hw/usb-ohci.c
src/hw/usb-uhci.c