1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

MFNetBSD:

revision 1.155
    date: 2002/02/27 12:42:41;  author: augustss;  state: Exp;  lines: +8 -8
    Move the interrupt bailout when a cancelled ii is found.
This commit is contained in:
Josef Karthauser 2002-04-07 18:13:16 +00:00
parent 88bda4a206
commit d5b41c2348
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94141

View File

@ -1,4 +1,4 @@
/* $NetBSD: uhci.c,v 1.154 2002/02/27 12:12:45 augustss Exp $ */
/* $NetBSD: uhci.c,v 1.155 2002/02/27 12:42:41 augustss Exp $ */
/* $FreeBSD$ */
/*
@ -1301,6 +1301,12 @@ uhci_check_intr(uhci_softc_t *sc, uhci_intr_info_t *ii)
return;
}
#endif
if (ii->xfer->status == USBD_CANCELLED ||
ii->xfer->status == USBD_TIMEOUT) {
DPRINTF(("uhci_check_intr: aborted xfer=%p\n", ii->xfer));
return;
}
if (ii->stdstart == NULL)
return;
lstd = ii->stdend;
@ -1369,13 +1375,6 @@ uhci_idone(uhci_intr_info_t *ii)
splx(s);
}
#endif
if (xfer->status == USBD_CANCELLED ||
xfer->status == USBD_TIMEOUT) {
DPRINTF(("uhci_idone: aborted xfer=%p\n", xfer));
return;
}
if (xfer->nframes != 0) {
/* Isoc transfer, do things differently. */
uhci_soft_td_t **stds = upipe->u.iso.stds;