summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhcivar.h
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1999-08-23 21:00:08 +0000
committern_hibma <n_hibma@FreeBSD.org>1999-08-23 21:00:08 +0000
commita9f46ba20de99dba4788fc06cb53f20217ad205f (patch)
treefad42e68251d78c562cc886c1e45c53f0c5aca60 /sys/dev/usb/uhcivar.h
parent663cbe4fc26065f7af7d10faaee492a626156145 (diff)
downloadFreeBSD-src-a9f46ba20de99dba4788fc06cb53f20217ad205f.zip
FreeBSD-src-a9f46ba20de99dba4788fc06cb53f20217ad205f.tar.gz
Reset the UHCI controller when the device comes back from suspend.
This should be replaced by proper support for suspend one day (global suspend). Submitted-by: Christopher Masto <chris@netmonger.net>
Diffstat (limited to 'sys/dev/usb/uhcivar.h')
-rw-r--r--sys/dev/usb/uhcivar.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/usb/uhcivar.h b/sys/dev/usb/uhcivar.h
index 9af98b7..266bced 100644
--- a/sys/dev/usb/uhcivar.h
+++ b/sys/dev/usb/uhcivar.h
@@ -133,6 +133,7 @@ typedef struct uhci_softc {
#endif
uhci_physaddr_t *sc_pframes;
+ vm_offset_t sc_flbase;
struct uhci_vframe sc_vframes[UHCI_VFRAMELIST_COUNT];
uhci_soft_qh_t *sc_ctl_start; /* dummy QH for control */
@@ -168,7 +169,4 @@ typedef struct uhci_softc {
usbd_status uhci_init __P((uhci_softc_t *));
int uhci_intr __P((void *));
-#if 0
-void uhci_reset __P((void *));
-#endif
-
+usbd_status uhci_reset __P((uhci_softc_t *));
OpenPOWER on IntegriCloud