summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2002-01-03 16:14:35 +0000
committerjoe <joe@FreeBSD.org>2002-01-03 16:14:35 +0000
commit7af2a6b538992d73b8a5c0bb4f5163efcf151425 (patch)
tree0970401dad5e27e9f0997b8a5192f8f668830b84 /sys/dev/usb/uhci.c
parent36a7a0d85945d4d88f8af8f127291a060363b9c7 (diff)
downloadFreeBSD-src-7af2a6b538992d73b8a5c0bb4f5163efcf151425.zip
FreeBSD-src-7af2a6b538992d73b8a5c0bb4f5163efcf151425.tar.gz
Add some missing prototypes.
Remove some diagnostics that aren't relevant yet.
Diffstat (limited to 'sys/dev/usb/uhci.c')
-rw-r--r--sys/dev/usb/uhci.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index d3b8840..42ac101 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
OpenPOWER on IntegriCloud