git: cf48d1f77126 - main - Clamp the XHCI minimum isochronous scheduling delay to the maximum value that will work under FreeBSD, if the value is too big.

Hans Petter Selasky hselasky at FreeBSD.org
Sun Jul 11 12:01:01 UTC 2021


The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=cf48d1f77126d8de4c03c4dd7c8502be2b5f1954

commit cf48d1f77126d8de4c03c4dd7c8502be2b5f1954
Author:     Hans Petter Selasky <hselasky at FreeBSD.org>
AuthorDate: 2021-07-11 11:56:52 +0000
Commit:     Hans Petter Selasky <hselasky at FreeBSD.org>
CommitDate: 2021-07-11 11:57:15 +0000

    Clamp the XHCI minimum isochronous scheduling delay to the maximum value that
    will work under FreeBSD, if the value is too big.
    
    MFC after:      1 week
    Sponsored by:   NVIDIA Networking
---
 sys/dev/usb/controller/xhci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c
index 690091fcef2f..e9d15eabc20a 100644
--- a/sys/dev/usb/controller/xhci.c
+++ b/sys/dev/usb/controller/xhci.c
@@ -2110,6 +2110,7 @@ xhci_setup_generic_chain(struct usb_xfer *xfer)
 			 * or equal to 2 milliseconds, which is too
 			 * much.
 			 */
+			y = 7;
 		} else {
 			/*
 			 * Subtract one millisecond, because the


More information about the dev-commits-src-all mailing list