Source-Changes-HG archive

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

[src/nick-nhusb]: src/sys/dev/usb Pull across fix from head for BE short reads



details:   https://anonhg.NetBSD.org/src/rev/494a35701612
branches:  nick-nhusb
changeset: 804650:494a35701612
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun May 29 06:13:02 2016 +0000

description:
Pull across fix from head for BE short reads

diffstat:

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

diffs (27 lines):

diff -r 56d297149a64 -r 494a35701612 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Mon May 02 13:10:15 2016 +0000
+++ b/sys/dev/usb/ohci.c        Sun May 29 06:13:02 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.254.2.73 2016/04/30 10:34:14 skrll Exp $    */
+/*     $NetBSD: ohci.c,v 1.254.2.74 2016/05/29 06:13:02 skrll 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.254.2.73 2016/04/30 10:34:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.74 2016/05/29 06:13:02 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -665,7 +665,7 @@
                }
        }
        cur->td.td_flags |=
-           (xfer->ux_flags & USBD_SHORT_XFER_OK ? OHCI_TD_R : 0);
+           HTOO32(xfer->ux_flags & USBD_SHORT_XFER_OK ? OHCI_TD_R : 0);
 
        if (!rd &&
            (flags & USBD_FORCE_SHORT_XFER) &&



Home | Main Index | Thread Index | Old Index