summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhcivar.h
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-01-20 22:24:35 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-01-20 22:24:35 +0000
commitac7818da203e78d3ce5712161676189545230d9b (patch)
tree0ac6312f6de5fa613a895428606b3f6dad59cb21 /sys/dev/usb/uhcivar.h
parentc5a17a034f1da1b9574226a95740c0b74196639f (diff)
downloadFreeBSD-src-ac7818da203e78d3ce5712161676189545230d9b.zip
FreeBSD-src-ac7818da203e78d3ce5712161676189545230d9b.tar.gz
Add support for DEVICE_SUSPEND, DEVICE_RESUME and DEVICE_SHUTDOWN
methods for USB devices. However: with none of the devices I have here suspend seems to work properly. This is probably a bug in uhci_power which I still have to look at. Prodded and pushed by: Christopher Masto <chris@netmonger.net>
Diffstat (limited to 'sys/dev/usb/uhcivar.h')
-rw-r--r--sys/dev/usb/uhcivar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/uhcivar.h b/sys/dev/usb/uhcivar.h
index 82e4c1e..381df9b 100644
--- a/sys/dev/usb/uhcivar.h
+++ b/sys/dev/usb/uhcivar.h
@@ -177,3 +177,6 @@ int uhci_detach __P((uhci_softc_t *, int));
int uhci_activate __P((device_ptr_t, enum devact));
#endif
+void uhci_shutdown __P((void *v));
+void uhci_power __P((int state, void *priv));
+
OpenPOWER on IntegriCloud