svn commit: r261111 - stable/10/sys/dev/usb/controller
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Jan 24 08:15:22 UTC 2014
Author: hselasky
Date: Fri Jan 24 08:15:21 2014
New Revision: 261111
URL: http://svnweb.freebsd.org/changeset/base/261111
Log:
MFC r258545:
Comply to the XHCI specification. Certain input context fields should
always be zero.
Modified:
stable/10/sys/dev/usb/controller/xhci.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/usb/controller/xhci.c
==============================================================================
--- stable/10/sys/dev/usb/controller/xhci.c Fri Jan 24 08:10:08 2014 (r261110)
+++ stable/10/sys/dev/usb/controller/xhci.c Fri Jan 24 08:15:21 2014 (r261111)
@@ -2614,7 +2614,11 @@ xhci_configure_device(struct usb_device
xhci_ctx_set_le32(sc, &pinp->ctx_slot.dwSctx2, temp);
- temp = XHCI_SCTX_3_DEV_ADDR_SET(udev->address) |
+ /*
+ * These fields should be initialized to zero, according to
+ * XHCI section 6.2.2 - slot context:
+ */
+ temp = XHCI_SCTX_3_DEV_ADDR_SET(0) |
XHCI_SCTX_3_SLOT_STATE_SET(0);
xhci_ctx_set_le32(sc, &pinp->ctx_slot.dwSctx3, temp);
More information about the svn-src-stable-10
mailing list