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 Missed hunk from previous



details:   https://anonhg.NetBSD.org/src/rev/ba66eb72aedc
branches:  nick-nhusb
changeset: 334387:ba66eb72aedc
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Feb 06 10:24:58 2016 +0000

description:
Missed hunk from previous

diffstat:

 sys/dev/usb/ehci.c |  14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diffs (35 lines):

diff -r ed4ac6f5aa4a -r ba66eb72aedc sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Sat Feb 06 10:21:45 2016 +0000
+++ b/sys/dev/usb/ehci.c        Sat Feb 06 10:24:58 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.234.2.83 2016/02/06 10:21:45 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.234.2.84 2016/02/06 10:24:58 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.83 2016/02/06 10:21:45 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.84 2016/02/06 10:24:58 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -1268,12 +1268,10 @@
        }
 
     end:
-       /*
-        * XXX transfer_complete memcpys out transfer data (for in endpoints)
-        * during this call, before methods->done is called: dma sync required
-        * beforehand?
-        */
-       usb_transfer_complete(xfer);
+
+       ehci_del_intr_list(sc, ex);
+       TAILQ_INSERT_TAIL(cq, ex, ex_next);
+
        USBHIST_LOG(ehcidebug, "ex=%p done", ex, 0, 0, 0);
 }
 



Home | Main Index | Thread Index | Old Index