[coreboot] PATCH: Missing bus address assignment
Steven A. Falco
sfalco at coincident.com
Sat Jul 9 23:17:22 CEST 2011
The EHCI controller does not set the bus_address field of the
controller structure. Other controllers have this assignment,
so let's be consistent.
Signed-off-by: Steven A. Falco <sfalco at coincident.com>
---
diff --git a/payloads/libpayload/drivers/usb/ehci.c b/payloads/libpayload/drivers/usb/ehci.c
index 3df0477..d979121 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;
}
More information about the coreboot
mailing list