Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic More debug
details: https://anonhg.NetBSD.org/src/rev/ebfd8d0dcd2e
branches: trunk
changeset: 345158:ebfd8d0dcd2e
user: skrll <skrll%NetBSD.org@localhost>
date: Tue May 10 21:13:48 2016 +0000
description:
More debug
diffstat:
sys/dev/ic/sl811hs.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r 649ece2b57c3 -r ebfd8d0dcd2e sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c Tue May 10 19:38:29 2016 +0000
+++ b/sys/dev/ic/sl811hs.c Tue May 10 21:13:48 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sl811hs.c,v 1.58 2016/05/08 07:48:24 skrll Exp $ */
+/* $NetBSD: sl811hs.c,v 1.59 2016/05/10 21:13:48 skrll Exp $ */
/*
* Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.58 2016/05/08 07:48:24 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.59 2016/05/10 21:13:48 skrll Exp $");
#include "opt_slhci.h"
@@ -1398,6 +1398,7 @@
void
slhci_reset_entry(void *arg)
{
+ SLHCIHIST_FUNC(); SLHCIHIST_CALLED();
struct slhci_softc *sc = arg;
mutex_enter(&sc->sc_intr_lock);
@@ -2492,12 +2493,14 @@
static void
slhci_do_callback_schedule(struct slhci_softc *sc)
{
+ SLHCIHIST_FUNC(); SLHCIHIST_CALLED();
struct slhci_transfers *t;
t = &sc->sc_transfers;
KASSERT(mutex_owned(&sc->sc_intr_lock));
+ DLOG(D_MSG, "flags %#x", t->flags, 0, 0, 0);
if (!(t->flags & F_CALLBACK)) {
t->flags |= F_CALLBACK;
softint_schedule(sc->sc_cb_softintr);
Home |
Main Index |
Thread Index |
Old Index