summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorSteven A. Falco <sfalco@coincident.com>2011-07-13 21:01:26 -0400
committerPeter Stuge <peter@stuge.se>2011-07-14 03:43:05 +0200
commit9229af963df17257d87efd9a83bba9fe6021046c (patch)
tree31032cad97af4036585c64a0f834e6da98c217e5 /payloads
parent5a91692466d501bde8fab5f9b0dee0a83444ee51 (diff)
downloadcoreboot-9229af963df17257d87efd9a83bba9fe6021046c.tar.xz
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 <sfalco@coincident.com> Change-Id: Ic4274c6744951ef7fa0cb135caf8b9f177d8bcaf Reviewed-on: http://review.coreboot.org/99 Tested-by: build bot (Jenkins) Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/drivers/usb/ehci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/usb/ehci.c b/payloads/libpayload/drivers/usb/ehci.c
index 3df0477695..d97912140a 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;
}