diff options
author | peter <peter@FreeBSD.org> | 1999-06-22 09:44:00 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-06-22 09:44:00 +0000 |
commit | 64e8e1a4e0d38b5ed56f1151c490b57cb8040951 (patch) | |
tree | 042f8e27d747beca5d4a18e5bb27fb196c48f6a0 /sys | |
parent | f972513d8f41cbaf423ae23089fae989c21f2851 (diff) | |
download | FreeBSD-src-64e8e1a4e0d38b5ed56f1151c490b57cb8040951.zip FreeBSD-src-64e8e1a4e0d38b5ed56f1151c490b57cb8040951.tar.gz |
Handle suspend/resume methods
Obtained from: Warner Losh <imp@freebsd.org>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/eisa/eisaconf.c | 4 | ||||
-rw-r--r-- | sys/i386/eisa/eisaconf.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c index 40f57ab..483c6e7 100644 --- a/sys/dev/eisa/eisaconf.c +++ b/sys/dev/eisa/eisaconf.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: eisaconf.c,v 1.44 1999/05/18 21:03:30 peter Exp $ + * $Id: eisaconf.c,v 1.45 1999/05/24 03:08:46 peter Exp $ */ #include "opt_eisa.h" @@ -471,6 +471,8 @@ static device_method_t eisa_methods[] = { DEVMETHOD(device_probe, eisa_probe), DEVMETHOD(device_attach, bus_generic_attach), DEVMETHOD(device_shutdown, bus_generic_shutdown), + DEVMETHOD(device_suspend, bus_generic_suspend), + DEVMETHOD(device_resume, bus_generic_resume), /* Bus interface */ DEVMETHOD(bus_print_child, eisa_print_child), diff --git a/sys/i386/eisa/eisaconf.c b/sys/i386/eisa/eisaconf.c index 40f57ab..483c6e7 100644 --- a/sys/i386/eisa/eisaconf.c +++ b/sys/i386/eisa/eisaconf.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: eisaconf.c,v 1.44 1999/05/18 21:03:30 peter Exp $ + * $Id: eisaconf.c,v 1.45 1999/05/24 03:08:46 peter Exp $ */ #include "opt_eisa.h" @@ -471,6 +471,8 @@ static device_method_t eisa_methods[] = { DEVMETHOD(device_probe, eisa_probe), DEVMETHOD(device_attach, bus_generic_attach), DEVMETHOD(device_shutdown, bus_generic_shutdown), + DEVMETHOD(device_suspend, bus_generic_suspend), + DEVMETHOD(device_resume, bus_generic_resume), /* Bus interface */ DEVMETHOD(bus_print_child, eisa_print_child), |