Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/7697b5b438b2
branches:  netbsd-7
changeset: 799740:7697b5b438b2
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Jan 02 14:43:48 2016 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #1054):
        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 7153f3a16c5d -r 7697b5b438b2 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Sat Jan 02 14:40:39 2016 +0000
+++ b/sys/dev/usb/ohci.c        Sat Jan 02 14:43:48 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.253.2.1 2014/12/01 11:38:43 martin Exp $    */
+/*     $NetBSD: ohci.c,v 1.253.2.2 2016/01/02 14:43:48 riz Exp $       */
 
 /*
  * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.253.2.1 2014/12/01 11:38:43 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.253.2.2 2016/01/02 14:43:48 riz Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -3191,7 +3191,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