Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Some more DIAGNOSTIC.



details:   https://anonhg.NetBSD.org/src/rev/f5de55999b82
branches:  trunk
changeset: 479017:f5de55999b82
user:      augustss <augustss%NetBSD.org@localhost>
date:      Wed Dec 01 23:19:11 1999 +0000

description:
Some more DIAGNOSTIC.

diffstat:

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

diffs (23 lines):

diff -r e9a574ccd5f1 -r f5de55999b82 sys/dev/usb/ohci.c
--- a/sys/dev/usb/ohci.c        Wed Dec 01 22:14:46 1999 +0000
+++ b/sys/dev/usb/ohci.c        Wed Dec 01 23:19:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ohci.c,v 1.56 1999/11/20 00:57:09 augustss Exp $       */
+/*     $NetBSD: ohci.c,v 1.57 1999/12/01 23:19:11 augustss Exp $       */
 /*     $FreeBSD: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $       */
 
 /*
@@ -800,8 +800,12 @@
        ohci_softc_t *sc = p;
 
        /* If we get an interrupt while polling, then just ignore it. */
-       if (sc->sc_bus.use_polling)
+       if (sc->sc_bus.use_polling) {
+#ifdef DIAGNOSTIC
+               printf("ohci_intr: ignored interrupt while polling\n");
+#endif
                return (0);
+       }
 
        return (ohci_intr1(sc)); 
 }



Home | Main Index | Thread Index | Old Index