Module Name: src Committed By: snj Date: Wed Jul 13 08:14:08 UTC 2016
Modified Files: src/sys/dev/usb [netbsd-6]: ohci.c Log Message: Pull up following revision(s) (requested by skrll in ticket #1350): sys/dev/usb/ohci.c: revision 1.257 Fix 10year old bug of mine affecting interrupt IN transfers. To generate a diff of this commit: cvs rdiff -u -r1.218.8.3 -r1.218.8.4 src/sys/dev/usb/ohci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/ohci.c diff -u src/sys/dev/usb/ohci.c:1.218.8.3 src/sys/dev/usb/ohci.c:1.218.8.4 --- src/sys/dev/usb/ohci.c:1.218.8.3 Sun Dec 7 15:09:31 2014 +++ src/sys/dev/usb/ohci.c Wed Jul 13 08:14:08 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: ohci.c,v 1.218.8.3 2014/12/07 15:09:31 martin Exp $ */ +/* $NetBSD: ohci.c,v 1.218.8.4 2016/07/13 08:14:08 snj Exp $ */ /* $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */ /* @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.218.8.3 2014/12/07 15:09:31 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.218.8.4 2016/07/13 08:14:08 snj Exp $"); #include "opt_usb.h" @@ -3107,7 +3107,7 @@ ohci_device_intr_start(usbd_xfer_handle tail->xfer = NULL; data->td.td_flags = HTOO32( - isread ? OHCI_TD_IN : OHCI_TD_OUT | + (isread ? OHCI_TD_IN : OHCI_TD_OUT) | OHCI_TD_NOCC | OHCI_TD_SET_DI(1) | OHCI_TD_TOGGLE_CARRY); if (xfer->flags & USBD_SHORT_XFER_OK)