mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Comply to the XHCI specification. Certain input context fields should
always be zero. MFC after: 1 week
This commit is contained in:
parent
54366c0bd7
commit
5c0f828a07
1 changed files with 5 additions and 1 deletions
|
|
@ -2540,7 +2540,11 @@ xhci_configure_device(struct usb_device *udev)
|
|||
|
||||
xhci_ctx_set_le32(sc, &pinp->ctx_slot.dwSctx2, temp);
|
||||
|
||||
temp = XHCI_SCTX_3_DEV_ADDR_SET(udev->address) |
|
||||
/*
|
||||
* These fields should be initialized to zero, according to
|
||||
* XHCI section 6.2.2 - slot context:
|
||||
*/
|
||||
temp = XHCI_SCTX_3_DEV_ADDR_SET(0) |
|
||||
XHCI_SCTX_3_SLOT_STATE_SET(0);
|
||||
|
||||
xhci_ctx_set_le32(sc, &pinp->ctx_slot.dwSctx3, temp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue