diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-01-20 22:24:35 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-01-20 22:24:35 +0000 |
commit | ac7818da203e78d3ce5712161676189545230d9b (patch) | |
tree | 0ac6312f6de5fa613a895428606b3f6dad59cb21 /sys/dev/usb/uhcivar.h | |
parent | c5a17a034f1da1b9574226a95740c0b74196639f (diff) | |
download | FreeBSD-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.h | 3 |
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)); + |