diff options
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/ohci.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index ec6739a9ecd..438c804ff19 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: src/sys/dev/usb/ohci.c,v 1.22 1999/11/17 22:33:40 n_hibma Exp $ */ /* @@ -160,6 +160,7 @@ static usbd_status ohci_root_ctrl_transfer __P((usbd_xfer_handle)); static usbd_status ohci_root_ctrl_start __P((usbd_xfer_handle)); static void ohci_root_ctrl_abort __P((usbd_xfer_handle)); static void ohci_root_ctrl_close __P((usbd_pipe_handle)); +static void ohci_root_ctrl_done __P((usbd_xfer_handle)); static usbd_status ohci_root_intr_transfer __P((usbd_xfer_handle)); static usbd_status ohci_root_intr_start __P((usbd_xfer_handle)); @@ -275,7 +276,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 = { @@ -1258,6 +1259,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 |
