NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/52154 (xHCI Slot Context Not Include in configure endpoint process)
Does this work for you?
Index: sys/dev/usb/xhci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/xhci.c,v
retrieving revision 1.70
diff -u -p -r1.70 xhci.c
--- sys/dev/usb/xhci.c 21 Jan 2017 07:39:30 -0000 1.70
+++ sys/dev/usb/xhci.c 13 Apr 2017 07:23:42 -0000
@@ -2956,7 +2956,9 @@ xhci_setup_ctx(struct usbd_pipe *pipe)
cp = xhci_slot_get_icv(sc, xs, XHCI_ICI_INPUT_CONTROL);
cp[0] = htole32(0);
cp[1] = htole32(XHCI_INCTX_1_ADD_MASK(dci));
+#if 0
if (dci == XHCI_DCI_EP_CONTROL)
+#endif
cp[1] |= htole32(XHCI_INCTX_1_ADD_MASK(XHCI_DCI_SLOT));
cp[7] = htole32(0);
Home |
Main Index |
Thread Index |
Old Index