From 7af2a6b538992d73b8a5c0bb4f5163efcf151425 Mon Sep 17 00:00:00 2001 From: joe Date: Thu, 3 Jan 2002 16:14:35 +0000 Subject: [PATCH] Add some missing prototypes. Remove some diagnostics that aren't relevant yet. --- sys/dev/usb/uhci.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index d3b88402b65f..42ac10180100 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -158,6 +158,9 @@ struct uhci_pipe { LIST_HEAD(, uhci_intr_info) uhci_ii_free; Static void uhci_busreset(uhci_softc_t *); +Static void uhci_reset(uhci_softc_t *); +Static void uhci_shutdown(void *v); +Static void uhci_power(int, void *); Static usbd_status uhci_run(uhci_softc_t *, int run); Static uhci_soft_td_t *uhci_alloc_std(uhci_softc_t *); Static void uhci_free_std(uhci_softc_t *, uhci_soft_td_t *); @@ -1667,9 +1670,6 @@ uhci_abort_xfer_end(void *v) int s; s = splusb(); -#ifdef DIAGNOSTIC - ii->isdone = 1; -#endif usb_transfer_complete(xfer); splx(s); } @@ -2295,12 +2295,6 @@ uhci_device_isoc_done(usbd_xfer_handle xfer) LIST_REMOVE(ii, list); /* remove from active list */ #ifdef DIAGNOSTIC - if (xfer->busy_free != XFER_BUSY) { - printf("uhci_device_isoc_done: xfer=%p not busy 0x%08x\n", - xfer, xfer->busy_free); - return; - } - if (ii->stdend == NULL) { printf("uhci_device_isoc_done: xfer=%p stdend==NULL\n", xfer); #ifdef UHCI_DEBUG