Author: hselasky
Date: Sat Nov 10 10:32:55 2018
New Revision: 340317
URL: https://svnweb.freebsd.org/changeset/base/340317
Log:
MFC r340212:
Sometimes the complete split packet may be queued too early and the
transaction translator will return a NAK. Ignore this message and
retry the complete split instead.
Sponsored by: Mellanox Technologies
Modified:
stable/10/sys/dev/usb/controller/dwc_otg.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/usb/controller/dwc_otg.c
==============================================================================
--- stable/10/sys/dev/usb/controller/dwc_otg.c Sat Nov 10 10:31:35 2018
(r340316)
+++ stable/10/sys/dev/usb/controller/dwc_otg.c Sat Nov 10 10:32:55 2018
(r340317)
@@ -1435,6 +1435,19 @@ dwc_otg_host_data_rx(struct dwc_otg_softc *sc, struct
goto receive_pkt;
}
} else if (td->ep_type == UE_ISOCHRONOUS) {
+ if (td->hcsplt != 0) {
+ /*
+ * Sometimes the complete
+ * split packet may be queued
+ * too early and the
+ * transaction translator will
+ * return a NAK. Ignore
+ * this message and retry the
+ * complete split instead.
+ */
+ DPRINTF("Retrying complete split\n");
+ goto receive_pkt;
+ }
goto complete;
}
td->did_nak = 1;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"