svn commit: r331360 - head/sys/dev/usb/controller

Andrew Turner andrew at FreeBSD.org
Thu Mar 22 15:24:27 UTC 2018


Author: andrew
Date: Thu Mar 22 15:24:26 2018
New Revision: 331360
URL: https://svnweb.freebsd.org/changeset/base/331360

Log:
  Increase the size of the endpoint buffers. They are double buffered so
  need to be twice the size.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/dev/usb/controller/musb_otg.c

Modified: head/sys/dev/usb/controller/musb_otg.c
==============================================================================
--- head/sys/dev/usb/controller/musb_otg.c	Thu Mar 22 15:11:53 2018	(r331359)
+++ head/sys/dev/usb/controller/musb_otg.c	Thu Mar 22 15:24:26 2018	(r331360)
@@ -157,7 +157,7 @@ static const struct musb_otg_ep_cfg musbotg_ep_default
 	},
 	{
 		.ep_end = 7,
-		.ep_fifosz_shift = 9,
+		.ep_fifosz_shift = 10,
 		.ep_fifosz_reg = MUSB2_VAL_FIFOSZ_512 | MUSB2_MASK_FIFODB,
 	},
 	{


More information about the svn-src-head mailing list