Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic #if 0 an assert around rootintr that's no longer ...



details:   https://anonhg.NetBSD.org/src/rev/6cd8e0472e49
branches:  trunk
changeset: 345244:6cd8e0472e49
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat May 14 10:07:52 2016 +0000

description:
#if 0 an assert around rootintr that's no longer correct.  root hub
interrupt transfers could do with reworking.

diffstat:

 sys/dev/ic/sl811hs.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 1a1940167d24 -r 6cd8e0472e49 sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c      Sat May 14 09:51:56 2016 +0000
+++ b/sys/dev/ic/sl811hs.c      Sat May 14 10:07:52 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sl811hs.c,v 1.69 2016/05/14 08:52:20 skrll Exp $       */
+/*     $NetBSD: sl811hs.c,v 1.70 2016/05/14 10:07:52 skrll Exp $       */
 
 /*
  * Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.69 2016/05/14 08:52:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.70 2016/05/14 10:07:52 skrll Exp $");
 
 #include "opt_slhci.h"
 
@@ -3096,8 +3096,10 @@
        KASSERT(mutex_owned(&sc->sc_intr_lock));
 
        KASSERT(spipe->ptype == PT_ROOT_INTR);
+#if 0
        LK_SLASSERT(t->rootintr == NULL, sc, spipe, xfer, return
            USBD_CANCELLED);
+#endif
        t->rootintr = xfer;
        if (t->flags & F_CHANGE)
                t->flags |= F_ROOTINTR;



Home | Main Index | Thread Index | Old Index