aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-01-21 04:15:39 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-01-21 04:15:39 +0000
commit3bedcae34fc1802f791fbc508f6426c3338ba2f7 (patch)
treed56f20c1ae13bdf2bcc6bbce3b90c840b9cd60a1 /sys/dev/usb
parent4cd5d8f292e74945a8668440b23adcecc55860af (diff)
Notes
Diffstat (limited to 'sys/dev/usb')
-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 debe3a0aa010c..a54f21be0c527 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