From: Steven A. Falco Date: Thu, 14 Jul 2011 01:01:26 +0000 (-0400) Subject: EHCI driver missing bus_address assignment. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=commitdiff_plain;h=9229af963df17257d87efd9a83bba9fe6021046c EHCI driver missing bus_address assignment. Other USB drivers set the bus_address field. EHCI should do this too. Signed-off-by: Steven A. Falco Change-Id: Ic4274c6744951ef7fa0cb135caf8b9f177d8bcaf Reviewed-on: http://review.coreboot.org/99 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge --- diff --git a/payloads/libpayload/drivers/usb/ehci.c b/payloads/libpayload/drivers/usb/ehci.c index 3df047769..d97912140 100644 --- a/payloads/libpayload/drivers/usb/ehci.c +++ b/payloads/libpayload/drivers/usb/ehci.c @@ -336,6 +336,7 @@ ehci_init (pcidev_t addr) controller->create_intr_queue = ehci_create_intr_queue; controller->destroy_intr_queue = ehci_destroy_intr_queue; controller->poll_intr_queue = ehci_poll_intr_queue; + controller->bus_address = addr; for (i = 0; i < 128; i++) { controller->devices[i] = 0; }