aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2020-04-26 08:38:10 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2020-04-26 08:38:10 +0000
commitdfce0ef7af30ba61f6de1ec1a3f9a612c45ff188 (patch)
treeccd1a371aed059f336ac144266cff8fabf422af9
parentd623c63a6632d4e929969ae351c16b067c397385 (diff)
downloadsrc-dfce0ef7af30ba61f6de1ec1a3f9a612c45ff188.tar.gz
src-dfce0ef7af30ba61f6de1ec1a3f9a612c45ff188.zip
MFC r360075:
Set the maximum exit latency to 0 for XHCI USB 3.0 devices, because we don't implement link power management, LPM. This fixes error code XHCI_TRB_ERROR_BANDWIDTH for isochronous USB 3.0 transactions. Submitted by: Horse Ma <Shichun.Ma@dell.com> Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/stable/10/; revision=360335
-rw-r--r--sys/dev/usb/controller/xhci.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c
index b80d5d599bfe..9dd6fb24fb0c 100644
--- a/sys/dev/usb/controller/xhci.c
+++ b/sys/dev/usb/controller/xhci.c
@@ -2665,23 +2665,6 @@ xhci_configure_device(struct usb_device *udev)
sc->sc_hw.devs[index].nports);
}
- switch (udev->speed) {
- case USB_SPEED_SUPER:
- switch (sc->sc_hw.devs[index].state) {
- case XHCI_ST_ADDRESSED:
- case XHCI_ST_CONFIGURED:
- /* enable power save */
- temp |= XHCI_SCTX_1_MAX_EL_SET(sc->sc_exit_lat_max);
- break;
- default:
- /* disable power save */
- break;
- }
- break;
- default:
- break;
- }
-
xhci_ctx_set_le32(sc, &pinp->ctx_slot.dwSctx1, temp);
temp = XHCI_SCTX_2_IRQ_TARGET_SET(0);