Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Bail out early in isoc_done if the ii is not on ...
details: https://anonhg.NetBSD.org/src/rev/30d8d372088d
branches: trunk
changeset: 543194:30d8d372088d
user: augustss <augustss%NetBSD.org@localhost>
date: Wed Feb 19 01:35:04 2003 +0000
description:
Bail out early in isoc_done if the ii is not on the interrupt list.
diffstat:
sys/dev/usb/uhci.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 6a240ec006e3 -r 30d8d372088d sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c Wed Feb 19 00:37:33 2003 +0000
+++ b/sys/dev/usb/uhci.c Wed Feb 19 01:35:04 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.169 2003/02/16 23:15:28 augustss Exp $ */
+/* $NetBSD: uhci.c,v 1.170 2003/02/19 01:35:04 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */
/*
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.169 2003/02/16 23:15:28 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.170 2003/02/19 01:35:04 augustss Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -2591,6 +2591,9 @@
/* Not on interrupt list, ignore it. */
return;
+ if (!uhci_active_intr_info(ii))
+ return;
+
#ifdef DIAGNOSTIC
if (xfer->busy_free != XFER_BUSY) {
printf("uhci_device_isoc_done: xfer=%p not busy 0x%08x\n",
Home |
Main Index |
Thread Index |
Old Index