Use the ata_suspend/resume functions instaead of the bus_generic ones.

This should unbreak suspend/resume.

Contributed by:	Wiktor Niesiobedzki
This commit is contained in:
Søren Schmidt 2005-04-10 21:43:29 +00:00
parent b0e99d441c
commit 186ba2b70d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144886

View File

@ -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),