diff options
| author | augustss <augustss@NetBSD.org> | 1999-12-01 23:19:11 +0000 |
|---|---|---|
| committer | augustss <augustss@NetBSD.org> | 1999-12-01 23:19:11 +0000 |
| commit | b687c3c859a3de8a289845c660745755cf4d6da5 (patch) | |
| tree | d49abc308b0f0e2c684c20868ffeed8fa4252b80 /sys/dev | |
| parent | e1bf4e526c5d51337129d2140db59595826e5638 (diff) | |
Some more DIAGNOSTIC.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/ohci.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index e320b5b3262..c0c35c58882 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -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_intr(p) 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)); } |
