summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-10 12:25:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-07-10 12:25:50 +0000
commitb92201d0df967d5aacb59f75a91042f9957651b4 (patch)
treea63178770ee74d8c04e6eef1519f4928336993ab /sys
parente2b59722d258cb1901ad5ff0ee5952059fdc94ca (diff)
from netbsd, via loki@animata.net, revision 1.67
Adjust some silliness that was causing us to do extra work for "frame list rollover" interrupts, which we pretty much ignore.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ehci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 38d34f77312..e0a47910ce4 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.16 2004/07/07 16:55:08 deraadt Exp $ */
+/* $OpenBSD: ehci.c,v 1.17 2004/07/10 12:25:49 deraadt Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -515,7 +515,6 @@ ehci_intr1(ehci_softc_t *sc)
if (!intrs)
return (0);
- EOWRITE4(sc, EHCI_USBSTS, intrs); /* Acknowledge */
eintrs = intrs & sc->sc_eintrs;
DPRINTFN(7, ("ehci_intr: sc=%p intrs=0x%x(0x%x) eintrs=0x%x\n",
sc, (u_int)intrs, EOREAD4(sc, EHCI_USBSTS),
@@ -523,6 +522,7 @@ ehci_intr1(ehci_softc_t *sc)
if (!eintrs)
return (0);
+ EOWRITE4(sc, EHCI_USBSTS, intrs); /* Acknowledge */
sc->sc_bus.intr_context++;
sc->sc_bus.no_intrs++;
if (eintrs & EHCI_STS_IAA) {