summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ohcivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/ohcivar.h')
-rw-r--r--sys/dev/usb/ohcivar.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h
index 19f4d228691..396f9dacf65 100644
--- a/sys/dev/usb/ohcivar.h
+++ b/sys/dev/usb/ohcivar.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: ohcivar.h,v 1.16 2002/05/07 18:08:04 nate Exp $ */
-/* $NetBSD: ohcivar.h,v 1.30 2001/12/31 12:20:35 augustss Exp $ */
+/* $OpenBSD: ohcivar.h,v 1.17 2002/05/07 18:29:18 nate Exp $ */
+/* $NetBSD: ohcivar.h,v 1.28 2001/09/28 23:57:21 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/ohcivar.h,v 1.13 1999/11/17 22:33:41 n_hibma Exp $ */
/*
@@ -106,7 +106,6 @@ typedef struct ohci_softc {
int sc_noport;
u_int8_t sc_addr; /* device address */
u_int8_t sc_conf; /* device configuration */
- char sc_softwake;
ohci_soft_ed_t *sc_freeeds;
ohci_soft_td_t *sc_freetds;
@@ -139,18 +138,13 @@ typedef struct ohci_softc {
char sc_dying;
} ohci_softc_t;
-struct ohci_xfer {
- struct usbd_xfer xfer;
- struct usb_task abort_task;
-};
-
-#define OXFER(xfer) ((struct ehci_xfer *)(xfer))
-
+void ohci_reset(ohci_softc_t *);
usbd_status ohci_init(ohci_softc_t *);
int ohci_intr(void *);
#if defined(__NetBSD__) || defined(__OpenBSD__)
int ohci_detach(ohci_softc_t *, int);
int ohci_activate(device_ptr_t, enum devact);
#endif
+Static void ohci_rhsc_enable(void *sc);
#define MS_TO_TICKS(ms) ((ms) * hz / 1000)