Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Fix PR8666, to verbose diagnostics.
details: https://anonhg.NetBSD.org/src/rev/96b78042ef23
branches: trunk
changeset: 477587:96b78042ef23
user: augustss <augustss%NetBSD.org@localhost>
date: Sat Oct 23 00:21:01 1999 +0000
description:
Fix PR8666, to verbose diagnostics.
diffstat:
sys/dev/usb/uhci.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r dd57cf37c960 -r 96b78042ef23 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c Fri Oct 22 21:14:34 1999 +0000
+++ b/sys/dev/usb/uhci.c Sat Oct 23 00:21:01 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.61 1999/10/17 15:31:00 augustss Exp $ */
+/* $NetBSD: uhci.c,v 1.62 1999/10/23 00:21:01 augustss Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -846,12 +846,15 @@
}
#endif
+ status = UREAD2(sc, UHCI_STS);
+ if (status == 0) /* The interrupt was not for us. */
+ return (0);
+
#if defined(DIAGNOSTIC) && defined(__NetBSD__)
if (sc->sc_suspend != PWR_RESUME)
printf("uhci_intr: suspended sts=0x%x\n", status);
#endif
- status = UREAD2(sc, UHCI_STS);
ack = 0;
if (status & UHCI_STS_USBINT)
ack |= UHCI_STS_USBINT;
Home |
Main Index |
Thread Index |
Old Index