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

Hans Petter Selasky hselasky at FreeBSD.org
Fri Jan 13 22:19:15 UTC 2012


Author: hselasky
Date: Fri Jan 13 22:19:14 2012
New Revision: 230090
URL: http://svn.freebsd.org/changeset/base/230090

Log:
  Bugfix: Make sure the XHCI driver doesn't clear
  the route string field. Else USB 3.0 HUBs
  won't work.
  
  MFC after:	5 days

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

Modified: head/sys/dev/usb/controller/xhci.c
==============================================================================
--- head/sys/dev/usb/controller/xhci.c	Fri Jan 13 22:16:47 2012	(r230089)
+++ head/sys/dev/usb/controller/xhci.c	Fri Jan 13 22:19:14 2012	(r230090)
@@ -2264,7 +2264,7 @@ xhci_configure_device(struct usb_device 
 		temp |= XHCI_SCTX_0_CTX_NUM_SET(XHCI_MAX_ENDPOINTS - 1);
 		break;
 	default:
-		temp = XHCI_SCTX_0_CTX_NUM_SET(1);
+		temp |= XHCI_SCTX_0_CTX_NUM_SET(1);
 		break;
 	}
 


More information about the svn-src-head mailing list