diff options
| author | Mark Kettenis <[email protected]> | 2023-01-21 20:28:00 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-27 14:47:58 -0500 |
| commit | e330c8b83e8784d23614f80ca3f12b11ceb515d8 (patch) | |
| tree | 854dd767c79cd74589d1bbd762732f2a541b6954 /include/usb | |
| parent | 06af0e8026ad6f21946f0f5a050ec2e0a1876491 (diff) | |
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 <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include/usb')
| -rw-r--r-- | include/usb/xhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/xhci.h b/include/usb/xhci.h index 85c359fa1b9..4a4ac10229a 100644 --- a/include/usb/xhci.h +++ b/include/usb/xhci.h @@ -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; |
