mirror of
https://github.com/ipxe/ipxe
synced 2025-12-30 04:28:12 +03:00
[xhci] Enable USB3 ports on Intel PCH8/PCH9 controllers
Intel PCH controllers default to routing USB2 ports to EHCI rather than xHCI, and default to disabling SuperSpeed connections. Manipulate the PCI configuration space registers as necessary to reroute ports and enable SuperSpeed. Originally-fixed-by: Dan Ellis <Dan.Ellis@displaylink.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1103,4 +1103,19 @@ struct xhci_endpoint {
|
||||
struct xhci_trb_ring ring;
|
||||
};
|
||||
|
||||
/** Intel PCH quirk */
|
||||
#define XHCI_PCH 0x0001
|
||||
|
||||
/** Intel PCH USB2 port routing register */
|
||||
#define XHCI_PCH_XUSB2PR 0xd0
|
||||
|
||||
/** Intel PCH USB2 port routing mask register */
|
||||
#define XHCI_PCH_XUSB2PRM 0xd4
|
||||
|
||||
/** Intel PCH USB3 port SuperSpeed enable register */
|
||||
#define XHCI_PCH_USB3PSSEN 0xd8
|
||||
|
||||
/** Intel PCH USB3 port routing mask register */
|
||||
#define XHCI_PCH_USB3PRM 0xdc
|
||||
|
||||
#endif /* _IPXE_XHCI_H */
|
||||
|
||||
Reference in New Issue
Block a user