summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/usb/ohci.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c
index debe3a0..a54f21b 100644
--- a/sys/dev/usb/ohci.c
+++ b/sys/dev/usb/ohci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci.c,v 1.64 2000/01/19 00:23:58 augustss Exp $ */
+/* $NetBSD: ohci.c,v 1.65 2000/01/25 12:06:21 augustss Exp $ */
/* $FreeBSD$ */
/*
@@ -165,6 +165,7 @@ Static usbd_status ohci_root_ctrl_transfer(usbd_xfer_handle);
Static usbd_status ohci_root_ctrl_start(usbd_xfer_handle);
Static void ohci_root_ctrl_abort(usbd_xfer_handle);
Static void ohci_root_ctrl_close(usbd_pipe_handle);
+Static void ohci_root_ctrl_done (usbd_xfer_handle);
Static usbd_status ohci_root_intr_transfer(usbd_xfer_handle);
Static usbd_status ohci_root_intr_start(usbd_xfer_handle);
@@ -280,7 +281,7 @@ Static struct usbd_pipe_methods ohci_root_ctrl_methods = {
ohci_root_ctrl_abort,
ohci_root_ctrl_close,
ohci_noop,
- 0,
+ ohci_root_ctrl_done,
};
Static struct usbd_pipe_methods ohci_root_intr_methods = {
@@ -1364,6 +1365,13 @@ ohci_root_intr_done(xfer)
xfer->hcpriv = NULL;
}
+void
+ohci_root_ctrl_done(xfer)
+ usbd_xfer_handle xfer;
+{
+ xfer->hcpriv = NULL;
+}
+
/*
* Wait here until controller claims to have an interrupt.
* Then call ohci_intr and return. Use timeout to avoid waiting
OpenPOWER on IntegriCloud