HomeFreeBSD

Check the XHCI endpoint state before stopping any endpoint.

Description

Check the XHCI endpoint state before stopping any endpoint.

This avoids getting the XHCI_TRB_ERROR_CONTEXT_STATE error code from the XHCI
controller when the endpoint is disabled or already stopped.

Suggested by: Shichun.Ma@dell.com
MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS356597: Define the XHCI endpoint states.
Branches
Unknown
Tags
Unknown