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)



The following reply was made to PR kern/52154; it has been noted by GNATS.

From: Nick Hudson <nick.hudson%gmx.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, swifty_mc_vay%mail.ru@localhost
Cc: 
Subject: Re: kern/52154 (xHCI Slot Context Not Include in configure endpoint
 process)
Date: Thu, 13 Apr 2017 08:25:34 +0100

 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