From 2fd524297e5f8cfa1c44c2e96067bc6680f03882 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 31 Jan 2012 14:42:47 +0100 Subject: libpayload: Force checking all EHCI ports on power-on EHCI port status reporting isn't very consistent on power-on, so just looking for devices on all ports is the safest way to find everything. Change-Id: I26b4305016f0bed1d2c1b5cffc59d5813fa1cbbb Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/594 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones --- payloads/libpayload/drivers/usb/ehci_rh.c | 1 + 1 file changed, 1 insertion(+) (limited to 'payloads/libpayload/drivers') diff --git a/payloads/libpayload/drivers/usb/ehci_rh.c b/payloads/libpayload/drivers/usb/ehci_rh.c index d9ba8e4eaf..1d41f3f574 100644 --- a/payloads/libpayload/drivers/usb/ehci_rh.c +++ b/payloads/libpayload/drivers/usb/ehci_rh.c @@ -147,6 +147,7 @@ ehci_rh_init (usbdev_t *dev) p = &(RH_INST(dev)->ports[i]); RH_INST(dev)->devices[i] = -1; *p |= P_PP; + ehci_rh_scanport(dev, i); } dev->address = 0; -- cgit v1.2.3