From 186ba2b70d7aafc66f1bb9cb7107354e7790da3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Sun, 10 Apr 2005 21:43:29 +0000 Subject: [PATCH] Use the ata_suspend/resume functions instaead of the bus_generic ones. This should unbreak suspend/resume. Contributed by: Wiktor Niesiobedzki --- sys/dev/ata/ata-pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ata/ata-pci.c b/sys/dev/ata/ata-pci.c index 42cb152cd607..fbc82b73b22d 100644 --- a/sys/dev/ata/ata-pci.c +++ b/sys/dev/ata/ata-pci.c @@ -599,8 +599,8 @@ static device_method_t ata_pcichannel_methods[] = { DEVMETHOD(device_attach, ata_pcichannel_attach), DEVMETHOD(device_detach, ata_pcichannel_detach), DEVMETHOD(device_shutdown, bus_generic_shutdown), - DEVMETHOD(device_suspend, bus_generic_suspend), - DEVMETHOD(device_resume, bus_generic_resume), + DEVMETHOD(device_suspend, ata_suspend), + DEVMETHOD(device_resume, ata_resume), /* ATA methods */ DEVMETHOD(ata_setmode, ata_pcichannel_setmode),