svn commit: r261112 - stable/9/sys/dev/usb/controller
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Jan 24 08:16:20 UTC 2014
Author: hselasky
Date: Fri Jan 24 08:16:19 2014
New Revision: 261112
URL: http://svnweb.freebsd.org/changeset/base/261112
Log:
MFC r258545:
Comply to the XHCI specification. Certain input context fields should
always be zero.
Modified:
stable/9/sys/dev/usb/controller/xhci.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/usb/controller/xhci.c
==============================================================================
--- stable/9/sys/dev/usb/controller/xhci.c Fri Jan 24 08:15:21 2014 (r261111)
+++ stable/9/sys/dev/usb/controller/xhci.c Fri Jan 24 08:16:19 2014 (r261112)
@@ -2544,7 +2544,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-9
mailing list