From 8d5481c633999753f81a521d6132be4d28a82410 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 22 Jun 1999 09:44:00 +0000 Subject: [PATCH] Handle suspend/resume methods Obtained from: Warner Losh --- sys/dev/eisa/eisaconf.c | 4 +++- 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 40f57abb68a0..483c6e761795 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 40f57abb68a0..483c6e761795 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),