diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2002-04-07 18:13:16 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2002-04-07 18:13:16 +0000 |
| commit | d5b41c23481e28ab1631e9d32c0485c516f089cc (patch) | |
| tree | 7e100f88a8a5e78923e48c446c774cd7fadd3cc2 | |
| parent | 88bda4a206f2dd0d337fc20ca792c40d48e76127 (diff) | |
Notes
| -rw-r--r-- | sys/dev/usb/uhci.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index 5d68f1891ea6..66688bf2efae 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -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; |
