Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/sys/dev/usb Pull up following revision(s) (requested by s...



details:   https://anonhg.NetBSD.org/src/rev/bd038f1951cf
branches:  netbsd-6
changeset: 777066:bd038f1951cf
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Jul 13 08:14:08 2016 +0000

description:
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.

diffstat:

 sys/dev/usb/ohci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7a377a2b0ba3 -r bd038f1951cf sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Tue Jun 21 19:49:14 2016 +0000
+++ b/sys/dev/usb/ohci.c        Wed Jul 13 08:14:08 2016 +0000
@@ -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 @@
        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)



Home | Main Index | Thread Index | Old Index