From ca0b46691fc4258662c56d35d1b1844dd33417eb Mon Sep 17 00:00:00 2001 From: augustss Date: Wed, 21 Nov 2001 13:43:38 +0000 Subject: [PATCH] Mask correct interrupt after error interrupt. --- sys/dev/usb/ehci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index b43ae6feb582..b0307414a56b 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -1,4 +1,4 @@ -/* $NetBSD: ehci.c,v 1.20 2001/11/21 13:42:19 augustss Exp $ */ +/* $NetBSD: ehci.c,v 1.21 2001/11/21 13:43:38 augustss Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -47,7 +47,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.20 2001/11/21 13:42:19 augustss Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.21 2001/11/21 13:43:38 augustss Exp $"); #include #include @@ -486,7 +486,7 @@ ehci_intr1(ehci_softc_t *sc) if (eintrs & (EHCI_STS_INT | EHCI_STS_ERRINT)) { DPRINTF(("ehci_intr1: INT/ERRINT\n")); usb_schedsoftintr(&sc->sc_bus); - eintrs &= ~(EHCI_STS_INT | EHCI_STS_HSE); + eintrs &= ~(EHCI_STS_INT | EHCI_STS_ERRINT); } if (eintrs & EHCI_STS_HSE) { printf("%s: unrecoverable error, controller halted\n",