MFNetBSD:
revision 1.157 date: 2002/03/16 16:13:41; author: tsutsui; state: Exp; lines: +4 -4 Fix a couple of typo: - s/ehci/uhci/ (in unused arg of macro) - s/ohci/uhci/ (in panic message)
This commit is contained in:
parent
76f66df571
commit
bff41cb46c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: uhci.c,v 1.156 2002/03/04 00:53:33 augustss Exp $ */
|
||||
/* $NetBSD: uhci.c,v 1.157 2002/03/16 16:13:41 tsutsui Exp $ */
|
||||
/* $FreeBSD$ */
|
||||
|
||||
/*
|
||||
@ -1909,14 +1909,14 @@ uhci_abort_xfer(usbd_xfer_handle xfer, usbd_status status)
|
||||
/* If we're dying, just do the software part. */
|
||||
s = splusb();
|
||||
xfer->status = status; /* make software ignore it */
|
||||
usb_uncallout(xfer->timeout_handle, ehci_timeout, xfer);
|
||||
usb_uncallout(xfer->timeout_handle, uhci_timeout, xfer);
|
||||
usb_transfer_complete(xfer);
|
||||
splx(s);
|
||||
return;
|
||||
}
|
||||
|
||||
if (xfer->device->bus->intr_context || !curproc)
|
||||
panic("ohci_abort_xfer: not in process context\n");
|
||||
panic("uhci_abort_xfer: not in process context\n");
|
||||
|
||||
/*
|
||||
* Step 1: Make interrupt routine and hardware ignore xfer.
|
||||
|
Loading…
x
Reference in New Issue
Block a user