diff options
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/drivers/usb/ehci.c | 1 | ||||
-rw-r--r-- | payloads/libpayload/drivers/usb/ohci.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/drivers/usb/ehci.c b/payloads/libpayload/drivers/usb/ehci.c index ee8a1fad5c..eb59d979a5 100644 --- a/payloads/libpayload/drivers/usb/ehci.c +++ b/payloads/libpayload/drivers/usb/ehci.c @@ -776,6 +776,7 @@ ehci_init (unsigned long physical_bar) int i; hci_t *controller = new_controller (); controller->instance = xzalloc(sizeof (ehci_t)); + controller->reg_base = (uintptr_t)physical_bar; controller->type = EHCI; controller->start = ehci_start; controller->stop = ehci_stop; diff --git a/payloads/libpayload/drivers/usb/ohci.c b/payloads/libpayload/drivers/usb/ohci.c index 0dfda17456..dcf7169f6a 100644 --- a/payloads/libpayload/drivers/usb/ohci.c +++ b/payloads/libpayload/drivers/usb/ohci.c @@ -173,6 +173,7 @@ ohci_init (unsigned long physical_bar) hci_t *controller = new_controller (); controller->instance = xzalloc(sizeof (ohci_t)); + controller->reg_base = (uintptr_t)physical_bar; controller->type = OHCI; controller->start = ohci_start; controller->stop = ohci_stop; |