mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
usb: xhci: Fix root hub descriptor
When a system has multiple XHCI controllers, some of the properties described in the descriptor of the root hub (such as the number of ports) might differ between controllers. Fix this by switching from a single global hub descriptor to a hub descriptor per controller. Signed-off-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Marek Vasut <marex@denx.de>
This commit is contained in:
@@ -1222,6 +1222,7 @@ struct xhci_ctrl {
|
||||
struct xhci_erst_entry entry[ERST_NUM_SEGS];
|
||||
struct xhci_scratchpad *scratchpad;
|
||||
struct xhci_virt_device *devs[MAX_HC_SLOTS];
|
||||
struct usb_hub_descriptor hub_desc;
|
||||
int rootdev;
|
||||
u16 hci_version;
|
||||
int page_size;
|
||||
|
||||
Reference in New Issue
Block a user