diff options
author | shiba <shiba@FreeBSD.org> | 2003-12-22 15:18:46 +0000 |
---|---|---|
committer | shiba <shiba@FreeBSD.org> | 2003-12-22 15:18:46 +0000 |
commit | 8eac066005cc8510a901a8bf348ce5d52dfa6b3d (patch) | |
tree | 0c2171805339cf2370a697d9a770bb647640c606 /sys/dev/usb/ohcivar.h | |
parent | 64493776c79e7c821cc64385515cf1e45ebcd765 (diff) | |
download | FreeBSD-src-8eac066005cc8510a901a8bf348ce5d52dfa6b3d.zip FreeBSD-src-8eac066005cc8510a901a8bf348ce5d52dfa6b3d.tar.gz |
Enable support for DEVICE_SUSPEND, DEVICE_RESUME and DEVICE_SHUTDOWN
methods for USB devices in the same way of uhci driver. But this change
is not complete because some ohci controlers are not initialized completely.
So "kernel: usb0: 1 scheduling overruns" interrupt will generate many times.
This change will be same one in PR kern/60099.
Discussed on [bsd-nomads:16737] - [bsd-nomads:16746].
Diffstat (limited to 'sys/dev/usb/ohcivar.h')
-rw-r--r-- | sys/dev/usb/ohcivar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/ohcivar.h b/sys/dev/usb/ohcivar.h index 2d19f49..84b5447 100644 --- a/sys/dev/usb/ohcivar.h +++ b/sys/dev/usb/ohcivar.h @@ -165,3 +165,6 @@ int ohci_activate(device_ptr_t, enum devact); #endif #define MS_TO_TICKS(ms) ((ms) * hz / 1000) + +void ohci_shutdown(void *v); +void ohci_power(int state, void *priv); |