Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2011 20:02:40 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Jan Henrik Sylvester <me@janh.de>
Cc:        Josh Paetzel <josh@ixsystems.com>, "xin@ixsystems.com" <xin@ixsystems.com>, d@delphij.net, freebsd-usb@freebsd.org
Subject:   Re: USB 3 issues
Message-ID:  <201111172002.40748.hselasky@c2i.net>
In-Reply-To: <4EC54F0B.3030405@janh.de>
References:  <4EB2F85A.3060501@ixsystems.com> <201111152140.16012.hselasky@c2i.net> <4EC54F0B.3030405@janh.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_QpVxOSbzrq2uEOV
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit

Hi Jan,

Could you try the attached patch and different settings of kern.hz?

--HPS

--Boundary-00=_QpVxOSbzrq2uEOV
Content-Type: text/x-patch; charset="iso-8859-15"; name="xhci_timing.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	filename="xhci_timing.patch"

=== xhci.c
==================================================================
--- xhci.c	(revision 227545)
+++ xhci.c	(local)
@@ -1110,7 +1110,7 @@
 
 	trb.dwTrb3 = htole32(temp);
 
-	return (xhci_do_command(sc, &trb, 50 /* ms */));
+	return (xhci_do_command(sc, &trb, 100 /* ms */));
 }
 #endif
 
@@ -1127,7 +1127,7 @@
 	trb.dwTrb2 = 0;
 	trb.dwTrb3 = htole32(XHCI_TRB_3_TYPE_SET(XHCI_TRB_TYPE_ENABLE_SLOT));
 
-	err = xhci_do_command(sc, &trb, 50 /* ms */);
+	err = xhci_do_command(sc, &trb, 100 /* ms */);
 	if (err)
 		goto done;
 
@@ -1154,7 +1154,7 @@
 
 	trb.dwTrb3 = htole32(temp);
 
-	return (xhci_do_command(sc, &trb, 50 /* ms */));
+	return (xhci_do_command(sc, &trb, 100 /* ms */));
 }
 
 static usb_error_t
@@ -1310,7 +1310,7 @@
 
 	trb.dwTrb3 = htole32(temp);
 
-	return (xhci_do_command(sc, &trb, 50 /* ms */));
+	return (xhci_do_command(sc, &trb, 100 /* ms */));
 }
 
 static usb_error_t
@@ -1328,7 +1328,7 @@
 	    XHCI_TRB_3_SLOT_SET(slot_id);
 	trb.dwTrb3 = htole32(temp);
 
-	return (xhci_do_command(sc, &trb, 50 /* ms */));
+	return (xhci_do_command(sc, &trb, 100 /* ms */));
 }
 
 static usb_error_t
@@ -1351,7 +1351,7 @@
 
 	trb.dwTrb3 = htole32(temp);
 
-	return (xhci_do_command(sc, &trb, 50 /* ms */));
+	return (xhci_do_command(sc, &trb, 100 /* ms */));
 }
 
 static usb_error_t
@@ -1373,7 +1373,7 @@
 	    XHCI_TRB_3_EP_SET(ep_id);
 	trb.dwTrb3 = htole32(temp);
 
-	return (xhci_do_command(sc, &trb, 50 /* ms */));
+	return (xhci_do_command(sc, &trb, 100 /* ms */));
 }
 
 static usb_error_t
@@ -1396,7 +1396,7 @@
 
 	trb.dwTrb3 = htole32(temp);
 
-	return (xhci_do_command(sc, &trb, 50 /* ms */));
+	return (xhci_do_command(sc, &trb, 100 /* ms */));
 }
 
 static usb_error_t
@@ -1414,7 +1414,7 @@
 
 	trb.dwTrb3 = htole32(temp);
 
-	return (xhci_do_command(sc, &trb, 50 /* ms */));
+	return (xhci_do_command(sc, &trb, 100 /* ms */));
 }
 
 /*------------------------------------------------------------------------*

--Boundary-00=_QpVxOSbzrq2uEOV--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111172002.40748.hselasky>